treefmt v2.5.0ERRO formatter | ruff-check[1]: failed to apply with options '[check --fix]': exit status 1 CPY001 Missing copyright notice at top of file --> buildbot_effects/buildbot_effects/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_effects/buildbot_effects/cli.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_effects/buildbot_effects/options.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_effects/buildbot_effects/tests/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_effects/buildbot_effects/tests/test_branch_rev.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_effects/buildbot_effects/tests/test_cli.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_effects/buildbot_effects/tests/test_e2e_flake_ref.py:1:1 ISC004 Unparenthesized implicit string concatenation in collection --> buildbot_effects/buildbot_effects/tests/test_e2e_flake_ref.py:72:13 | 70 | sys.executable, 71 | "-c", 72 | / "import sys; sys.argv = ['buildbot-effects'] + sys.argv[1:]; " 73 | | "from buildbot_effects.cli import main; main()", | |___________________________________________________________^ 74 | "list", 75 | flake_ref, | help: Did you forget a comma? help: Wrap implicitly concatenated strings in parentheses CPY001 Missing copyright notice at top of file --> buildbot_effects/buildbot_effects/tests/test_flake_url.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/authz.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/build_canceller.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/build_trigger.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/buildbot_effects.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/common.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/db/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/db/failed_builds.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/db/failed_status.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/db_setup.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/errors.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/gitea_projects.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/github/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/github/installation_token.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/github/jwt_token.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/github/repo_token.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/github_projects.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/local_worker.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/models.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/nix_build.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/nix_error.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/nix_eval.py:1:1 PLR0917 Too many positional arguments (6 > 5) --> buildbot_nix/buildbot_nix/nix_eval.py:815:5 | 815 | def nix_eval_config( # noqa: PLR0913 | ^^^^^^^^^^^^^^^ 816 | project: GitProject, 817 | worker_names: list[str], | CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/nix_gcroot.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/nix_status_generator.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/oauth2_proxy_auth.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/oidc.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/project_config.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/projects.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/pull_based/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/pull_based/backend.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/pull_based/null_reporter.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/pull_based/project.py:1:1 PLR0917 Too many positional arguments (8 > 5) --> buildbot_nix/buildbot_nix/pull_based/project.py:27:9 | 25 | ssh_known_hosts: str | None 26 | 27 | def __init__( # noqa: PLR0913 | ^^^^^^^^ 28 | self, 29 | url: str, | CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/repo_config/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/scheduled.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/tests/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/tests/test_nix_eval_job.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/tests/test_pydantic_models.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/util.py:1:1 CPY001 Missing copyright notice at top of file --> buildbot_nix/buildbot_nix/worker.py:1:1 C408 Unnecessary `dict()` call (rewrite as a literal) --> packages/master.cfg.py:218:25 | 216 | ) 217 | 218 | c = BuildmasterConfig = dict( | _________________________^ 219 | | title="Hello World CI", 220 | | titleURL="https://buildbot.github.io/hello-world/", 221 | | buildbotURL=url, 222 | | configurators=[ 223 | | NixConfigurator(buildbot_nix_config), 224 | | ], 225 | | protocols={"pb": {"port": "tcp:9989:interface=\\:\\:1"}}, 226 | | www=dict(port=PORT, plugins=dict(), auth=util.UserPasswordAuth({"admin": "admin"})), 227 | | ) | |_^ help: Rewrite as a literal C408 Unnecessary `dict()` call (rewrite as a literal) --> packages/master.cfg.py:226:9 | 224 | ], 225 | protocols={"pb": {"port": "tcp:9989:interface=\\:\\:1"}}, 226 | www=dict(port=PORT, plugins=dict(), auth=util.UserPasswordAuth({"admin": "admin"})), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 227 | ) | help: Rewrite as a literal C408 Unnecessary `dict()` call (rewrite as a literal) --> packages/master.cfg.py:226:33 | 224 | ], 225 | protocols={"pb": {"port": "tcp:9989:interface=\\:\\:1"}}, 226 | www=dict(port=PORT, plugins=dict(), auth=util.UserPasswordAuth({"admin": "admin"})), | ^^^^^^ 227 | ) | help: Rewrite as a literal Found 64 errors (11 fixed, 53 remaining). No fixes available (4 hidden fixes can be enabled with the `--unsafe-fixes` option). traversed 98 files emitted 90 files for processing formatted 42 files (1 changed) in 196ms Error: failed to finalise formatting: formatting failures detected