treefmt-check
checks.aarch64-darwin.treefmt
· build #73
· raw
1tribuchet: building on mac022treefmt v2.6.0ERRO formatter | ruff-check[1]: failed to apply with options '[check --fix buildbot_effects/buildbot_effects/__init__.py buildbot_effects/buildbot_effects/cli.py buildbot_effects/buildbot_effects/options.py buildbot_effects/buildbot_effects/tests/__init__.py buildbot_effects/buildbot_effects/tests/test_branch_rev.py buildbot_effects/buildbot_effects/tests/test_cli.py buildbot_effects/buildbot_effects/tests/test_e2e_flake_ref.py buildbot_effects/buildbot_effects/tests/test_flake_url.py buildbot_nix/buildbot_nix/__init__.py buildbot_nix/buildbot_nix/authz.py buildbot_nix/buildbot_nix/build_canceller.py buildbot_nix/buildbot_nix/build_trigger.py buildbot_nix/buildbot_nix/buildbot_effects.py buildbot_nix/buildbot_nix/common.py buildbot_nix/buildbot_nix/db/__init__.py buildbot_nix/buildbot_nix/db/failed_builds.py buildbot_nix/buildbot_nix/db/failed_status.py buildbot_nix/buildbot_nix/db_setup.py buildbot_nix/buildbot_nix/errors.py buildbot_nix/buildbot_nix/gitea_projects.py buildbot_nix/buildbot_nix/github/__init__.py buildbot_nix/buildbot_nix/github/installation_token.py buildbot_nix/buildbot_nix/github/jwt_token.py buildbot_nix/buildbot_nix/github/repo_token.py buildbot_nix/buildbot_nix/github_projects.py buildbot_nix/buildbot_nix/local_worker.py buildbot_nix/buildbot_nix/models.py buildbot_nix/buildbot_nix/nix_build.py buildbot_nix/buildbot_nix/nix_error.py buildbot_nix/buildbot_nix/nix_eval.py buildbot_nix/buildbot_nix/nix_gcroot.py buildbot_nix/buildbot_nix/nix_status_generator.py buildbot_nix/buildbot_nix/oauth2_proxy_auth.py buildbot_nix/buildbot_nix/oidc.py buildbot_nix/buildbot_nix/project_config.py buildbot_nix/buildbot_nix/projects.py buildbot_nix/buildbot_nix/pull_based/__init__.py buildbot_nix/buildbot_nix/pull_based/backend.py buildbot_nix/buildbot_nix/pull_based/null_reporter.py buildbot_nix/buildbot_nix/pull_based/project.py buildbot_nix/buildbot_nix/repo_config/__init__.py buildbot_nix/buildbot_nix/scheduled.py buildbot_nix/buildbot_nix/tests/__init__.py buildbot_nix/buildbot_nix/tests/test_nix_eval_job.py buildbot_nix/buildbot_nix/tests/test_pydantic_models.py buildbot_nix/buildbot_nix/util.py buildbot_nix/buildbot_nix/worker.py packages/master.cfg.py]': exit status 134CPY001 Missing copyright notice at top of file5--> buildbot_effects/buildbot_effects/__init__.py:1:167CPY001 Missing copyright notice at top of file8--> buildbot_effects/buildbot_effects/cli.py:1:1910CPY001 Missing copyright notice at top of file11--> buildbot_effects/buildbot_effects/options.py:1:11213CPY001 Missing copyright notice at top of file14--> buildbot_effects/buildbot_effects/tests/__init__.py:1:11516CPY001 Missing copyright notice at top of file17--> buildbot_effects/buildbot_effects/tests/test_branch_rev.py:1:11819CPY001 Missing copyright notice at top of file20--> buildbot_effects/buildbot_effects/tests/test_cli.py:1:12122CPY001 Missing copyright notice at top of file23--> buildbot_effects/buildbot_effects/tests/test_e2e_flake_ref.py:1:12425ISC004 Unparenthesized implicit string concatenation in collection26 --> buildbot_effects/buildbot_effects/tests/test_e2e_flake_ref.py:72:1327 |2870 | sys.executable,2971 | "-c",3072 | / "import sys; sys.argv = ['buildbot-effects'] + sys.argv[1:]; "3173 | | "from buildbot_effects.cli import main; main()",32 | |___________________________________________________________^3374 | "list",3475 | flake_ref,35 |36help: Did you forget a comma?37help: Wrap implicitly concatenated strings in parentheses3839CPY001 Missing copyright notice at top of file40--> buildbot_effects/buildbot_effects/tests/test_flake_url.py:1:14142CPY001 Missing copyright notice at top of file43--> buildbot_nix/buildbot_nix/__init__.py:1:14445CPY001 Missing copyright notice at top of file46--> buildbot_nix/buildbot_nix/authz.py:1:14748CPY001 Missing copyright notice at top of file49--> buildbot_nix/buildbot_nix/build_canceller.py:1:15051CPY001 Missing copyright notice at top of file52--> buildbot_nix/buildbot_nix/build_trigger.py:1:15354CPY001 Missing copyright notice at top of file55--> buildbot_nix/buildbot_nix/buildbot_effects.py:1:15657CPY001 Missing copyright notice at top of file58--> buildbot_nix/buildbot_nix/common.py:1:15960CPY001 Missing copyright notice at top of file61--> buildbot_nix/buildbot_nix/db/__init__.py:1:16263CPY001 Missing copyright notice at top of file64--> buildbot_nix/buildbot_nix/db/failed_builds.py:1:16566CPY001 Missing copyright notice at top of file67--> buildbot_nix/buildbot_nix/db/failed_status.py:1:16869CPY001 Missing copyright notice at top of file70--> buildbot_nix/buildbot_nix/db_setup.py:1:17172CPY001 Missing copyright notice at top of file73--> buildbot_nix/buildbot_nix/errors.py:1:17475CPY001 Missing copyright notice at top of file76--> buildbot_nix/buildbot_nix/gitea_projects.py:1:17778CPY001 Missing copyright notice at top of file79--> buildbot_nix/buildbot_nix/github/__init__.py:1:18081CPY001 Missing copyright notice at top of file82--> buildbot_nix/buildbot_nix/github/installation_token.py:1:18384CPY001 Missing copyright notice at top of file85--> buildbot_nix/buildbot_nix/github/jwt_token.py:1:18687CPY001 Missing copyright notice at top of file88--> buildbot_nix/buildbot_nix/github/repo_token.py:1:18990CPY001 Missing copyright notice at top of file91--> buildbot_nix/buildbot_nix/github_projects.py:1:19293CPY001 Missing copyright notice at top of file94--> buildbot_nix/buildbot_nix/local_worker.py:1:19596CPY001 Missing copyright notice at top of file97--> buildbot_nix/buildbot_nix/models.py:1:19899CPY001 Missing copyright notice at top of file100--> buildbot_nix/buildbot_nix/nix_build.py:1:1101102CPY001 Missing copyright notice at top of file103--> buildbot_nix/buildbot_nix/nix_error.py:1:1104105CPY001 Missing copyright notice at top of file106--> buildbot_nix/buildbot_nix/nix_eval.py:1:1107108PLR0917 Too many positional arguments (6 > 5)109 --> buildbot_nix/buildbot_nix/nix_eval.py:815:5110 |111815 | def nix_eval_config( # noqa: PLR0913112 | ^^^^^^^^^^^^^^^113816 | project: GitProject,114817 | worker_names: list[str],115 |116117CPY001 Missing copyright notice at top of file118--> buildbot_nix/buildbot_nix/nix_gcroot.py:1:1119120CPY001 Missing copyright notice at top of file121--> buildbot_nix/buildbot_nix/nix_status_generator.py:1:1122123CPY001 Missing copyright notice at top of file124--> buildbot_nix/buildbot_nix/oauth2_proxy_auth.py:1:1125126CPY001 Missing copyright notice at top of file127--> buildbot_nix/buildbot_nix/oidc.py:1:1128129CPY001 Missing copyright notice at top of file130--> buildbot_nix/buildbot_nix/project_config.py:1:1131132CPY001 Missing copyright notice at top of file133--> buildbot_nix/buildbot_nix/projects.py:1:1134135CPY001 Missing copyright notice at top of file136--> buildbot_nix/buildbot_nix/pull_based/__init__.py:1:1137138CPY001 Missing copyright notice at top of file139--> buildbot_nix/buildbot_nix/pull_based/backend.py:1:1140141CPY001 Missing copyright notice at top of file142--> buildbot_nix/buildbot_nix/pull_based/null_reporter.py:1:1143144CPY001 Missing copyright notice at top of file145--> buildbot_nix/buildbot_nix/pull_based/project.py:1:1146147PLR0917 Too many positional arguments (8 > 5)148 --> buildbot_nix/buildbot_nix/pull_based/project.py:27:9149 |15025 | ssh_known_hosts: str | None15126 |15227 | def __init__( # noqa: PLR0913153 | ^^^^^^^^15428 | self,15529 | url: str,156 |157158CPY001 Missing copyright notice at top of file159--> buildbot_nix/buildbot_nix/repo_config/__init__.py:1:1160161CPY001 Missing copyright notice at top of file162--> buildbot_nix/buildbot_nix/scheduled.py:1:1163164CPY001 Missing copyright notice at top of file165--> buildbot_nix/buildbot_nix/tests/__init__.py:1:1166167CPY001 Missing copyright notice at top of file168--> buildbot_nix/buildbot_nix/tests/test_nix_eval_job.py:1:1169170CPY001 Missing copyright notice at top of file171--> buildbot_nix/buildbot_nix/tests/test_pydantic_models.py:1:1172173CPY001 Missing copyright notice at top of file174--> buildbot_nix/buildbot_nix/util.py:1:1175176CPY001 Missing copyright notice at top of file177--> buildbot_nix/buildbot_nix/worker.py:1:1178179C408 Unnecessary `dict()` call (rewrite as a literal)180 --> packages/master.cfg.py:218:25181 |182216 | )183217 |184218 | c = BuildmasterConfig = dict(185 | _________________________^186219 | | title="Hello World CI",187220 | | titleURL="https://buildbot.github.io/hello-world/",188221 | | buildbotURL=url,189222 | | configurators=[190223 | | NixConfigurator(buildbot_nix_config),191224 | | ],192225 | | protocols={"pb": {"port": "tcp:9989:interface=\\:\\:1"}},193226 | | www=dict(port=PORT, plugins=dict(), auth=util.UserPasswordAuth({"admin": "admin"})),194227 | | )195 | |_^196help: Rewrite as a literal197198C408 Unnecessary `dict()` call (rewrite as a literal)199 --> packages/master.cfg.py:226:9200 |201224 | ],202225 | protocols={"pb": {"port": "tcp:9989:interface=\\:\\:1"}},203226 | www=dict(port=PORT, plugins=dict(), auth=util.UserPasswordAuth({"admin": "admin"})),204 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^205227 | )206 |207help: Rewrite as a literal208209C408 Unnecessary `dict()` call (rewrite as a literal)210 --> packages/master.cfg.py:226:33211 |212224 | ],213225 | protocols={"pb": {"port": "tcp:9989:interface=\\:\\:1"}},214226 | www=dict(port=PORT, plugins=dict(), auth=util.UserPasswordAuth({"admin": "admin"})),215 | ^^^^^^216227 | )217 |218help: Rewrite as a literal219220Found 64 errors (11 fixed, 53 remaining).221No fixes available (4 hidden fixes can be enabled with the `--unsafe-fixes` option).222223traversed 98 files224emitted 90 files for processing225formatted 42 files (1 changed) in 143ms226Error: failed to finalise formatting: formatting failures detected