mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
The brief's one-line _FakeGen.generate_workflow_graph signature carried a single trailing `# noqa: ARG004`. `ruff format` -- which the plan mandates after `ruff check --fix` -- reflowed the >120-char signature to one argument per line, leaving the noqa attached only to `current_graph` and orphaning tenant_id, mode and model_config. ruff scopes noqa per PHYSICAL line, so `ruff check` then failed with 3 ARG004 errors while pytest stayed green. Lint-only; no behaviour change. Verified that `ruff format` now leaves the file unchanged, so the annotation survives the format pass that broke it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>