nixbot

builds

failed treefmt-check aarch64-darwin.formatting · build #115 · raw

1treefmt v2.5.0ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 123CPY001 Missing copyright notice at top of file4--> packages/ecbx/tests/__init__.py:1:156CPY001 Missing copyright notice at top of file7--> packages/ecbx/tests/conftest.py:1:189CPY001 Missing copyright notice at top of file10--> packages/ecbx/tests/test_cli.py:1:11112CPY001 Missing copyright notice at top of file13--> packages/ecbx/tests/test_exchange_rate_store.py:1:11415CPY001 Missing copyright notice at top of file16--> packages/ecbx/tests/test_utils.py:1:11718CPY001 Missing copyright notice at top of file19--> packages/harvest-invoicer/tests/__init__.py:1:12021CPY001 Missing copyright notice at top of file22--> packages/harvest-invoicer/tests/e2e_demo.py:1:12324CPY001 Missing copyright notice at top of file25--> packages/harvest-invoicer/tests/test_app.py:1:12627CPY001 Missing copyright notice at top of file28--> packages/harvest-invoicer/tests/test_cli.py:1:12930CPY001 Missing copyright notice at top of file31--> packages/harvest-invoicer/tests/test_config.py:1:13233CPY001 Missing copyright notice at top of file34--> packages/harvest-invoicer/tests/test_db.py:1:13536CPY001 Missing copyright notice at top of file37--> packages/harvest-invoicer/tests/test_fetch.py:1:13839CPY001 Missing copyright notice at top of file40--> packages/harvest-invoicer/tests/test_i18n.py:1:14142CPY001 Missing copyright notice at top of file43--> packages/harvest-invoicer/tests/test_mail.py:1:14445CPY001 Missing copyright notice at top of file46--> packages/harvest-invoicer/tests/test_model.py:1:14748CPY001 Missing copyright notice at top of file49--> packages/harvest-invoicer/tests/test_render.py:1:15051CPY001 Missing copyright notice at top of file52--> packages/harvest-invoicer/tests/test_rest_retry.py:1:15354Found 17 errors.5556ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 15758CPY001 Missing copyright notice at top of file59--> packages/transferwise/src/transferwise/__init__.py:1:16061Found 1 error.6263ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 16465CPY001 Missing copyright notice at top of file66--> packages/rest/src/rest/__init__.py:1:16768Found 1 error.6970ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 17172CPY001 Missing copyright notice at top of file73--> packages/sevdesk-invoicer/src/sevdesk_invoicer/__init__.py:1:17475CPY001 Missing copyright notice at top of file76--> packages/sevdesk-invoicer/src/sevdesk_tax_estimator/__init__.py:1:17778CPY001 Missing copyright notice at top of file79--> packages/sevdesk-invoicer/src/sevdesk_wise_importer/__init__.py:1:18081PLR0917 Too many positional arguments (7 > 5)82 --> packages/sevdesk-invoicer/src/sevdesk_wise_importer/__init__.py:144:583 |84144 | def import_record(85 | ^^^^^^^^^^^^^86145 | api: SevDeskAPI,87146 | accounts: Accounts,88 |8990Found 4 errors.9192ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 19394CPY001 Missing copyright notice at top of file95--> packages/kimai/src/kimai/__init__.py:1:19697CPY001 Missing copyright notice at top of file98--> packages/kimai/src/kimai/api.py:1:199100PLR0917 Too many positional arguments (6 > 5)101 --> packages/kimai/src/kimai/api.py:84:9102 |10382 | return ActivityInfo.from_json(activity_data[0])10483 |10584 | def get_time_entries(106 | ^^^^^^^^^^^^^^^^10785 | self,10886 | from_date: datetime,109 |110help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle111112CPY001 Missing copyright notice at top of file113--> packages/kimai/src/kimai/data.py:1:1114115CPY001 Missing copyright notice at top of file116--> packages/kimai/src/kimai/jsonserializer.py:1:1117118CPY001 Missing copyright notice at top of file119--> packages/kimai/src/kimai_exporter/__init__.py:1:1120121CPY001 Missing copyright notice at top of file122--> packages/kimai/src/kimai_exporter/cli.py:1:1123124Found 7 errors.125126ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1127128CPY001 Missing copyright notice at top of file129--> packages/paperless-cli/src/paperless_cli/__init__.py:1:1130131CPY001 Missing copyright notice at top of file132--> packages/paperless-cli/src/paperless_cli/api.py:1:1133134CPY001 Missing copyright notice at top of file135--> packages/paperless-cli/src/paperless_cli/cli/__init__.py:1:1136137CPY001 Missing copyright notice at top of file138--> packages/paperless-cli/src/paperless_cli/cli/documents.py:1:1139140CPY001 Missing copyright notice at top of file141--> packages/paperless-cli/src/paperless_cli/cli/formatter.py:1:1142143CPY001 Missing copyright notice at top of file144--> packages/paperless-cli/src/paperless_cli/cli/mail_accounts.py:1:1145146CPY001 Missing copyright notice at top of file147--> packages/paperless-cli/src/paperless_cli/cli/mail_rules.py:1:1148149CPY001 Missing copyright notice at top of file150--> packages/paperless-cli/src/paperless_cli/cli/main.py:1:1151152CPY001 Missing copyright notice at top of file153--> packages/paperless-cli/src/paperless_cli/cli/tags.py:1:1154155CPY001 Missing copyright notice at top of file156--> packages/paperless-cli/src/paperless_cli/errors.py:1:1157158CPY001 Missing copyright notice at top of file159--> packages/paperless-cli/src/paperless_cli/models/__init__.py:1:1160161CPY001 Missing copyright notice at top of file162--> packages/paperless-cli/src/paperless_cli/models/base.py:1:1163164CPY001 Missing copyright notice at top of file165--> packages/paperless-cli/src/paperless_cli/models/correspondent.py:1:1166167CPY001 Missing copyright notice at top of file168--> packages/paperless-cli/src/paperless_cli/models/document.py:1:1169170CPY001 Missing copyright notice at top of file171--> packages/paperless-cli/src/paperless_cli/models/mail.py:1:1172173CPY001 Missing copyright notice at top of file174--> packages/paperless-cli/src/paperless_cli/models/tag.py:1:1175176CPY001 Missing copyright notice at top of file177--> packages/paperless-cli/src/paperless_cli/models/task.py:1:1178179Found 17 errors.180181ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1182183CPY001 Missing copyright notice at top of file184--> packages/wise-exporter/src/wise_exporter/__init__.py:1:1185186Found 1 error.187188ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1189190CPY001 Missing copyright notice at top of file191--> packages/quipu-invoicer/src/quipu_api/__init__.py:1:1192193CPY001 Missing copyright notice at top of file194--> packages/quipu-invoicer/src/quipu_api/cli.py:1:1195196CPY001 Missing copyright notice at top of file197--> packages/quipu-invoicer/src/quipu_invoicer/__init__.py:1:1198199PLR0917 Too many positional arguments (10 > 5)200 --> packages/quipu-invoicer/src/quipu_invoicer/__init__.py:47:5201 |20245 | )20346 | @click.argument("json_file", type=click.Path(exists=True))20447 | def main(205 | ^^^^20648 | quipu_app_id: str,20749 | quipu_app_secret: str,208 |209210PLR0917 Too many positional arguments (10 > 5)211 --> packages/quipu-invoicer/src/quipu_invoicer/__init__.py:75:5212 |21375 | def create_invoice(214 | ^^^^^^^^^^^^^^21576 | app_id: str,21677 | app_secret: str,217 |218219Found 5 errors.220221ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1222223CPY001 Missing copyright notice at top of file224--> packages/harvest/src/harvest/__init__.py:1:1225226CPY001 Missing copyright notice at top of file227--> packages/harvest/src/harvest_exporter/__init__.py:1:1228229CPY001 Missing copyright notice at top of file230--> packages/harvest/src/harvest_exporter/cli.py:1:1231232CPY001 Missing copyright notice at top of file233--> packages/harvest/src/harvest_exporter/export.py:1:1234235CPY001 Missing copyright notice at top of file236--> packages/harvest/src/harvest_rounder/__init__.py:1:1237238CPY001 Missing copyright notice at top of file239--> packages/harvest/src/harvest_rounder/cli.py:1:1240241Found 6 errors.242243ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1244245CPY001 Missing copyright notice at top of file246--> packages/ecbx/src/ecbx/__init__.py:1:1247248CPY001 Missing copyright notice at top of file249--> packages/ecbx/src/ecbx/__main__.py:1:1250251CPY001 Missing copyright notice at top of file252--> packages/ecbx/src/ecbx/cli.py:1:1253254PLR0917 Too many positional arguments (6 > 5)255 --> packages/ecbx/src/ecbx/cli.py:134:5256 |257132 | )258133 | @click.pass_context259134 | def convert(260 | ^^^^^^^261135 | ctx: click.Context,262136 | date: str | None,263 |264265CPY001 Missing copyright notice at top of file266--> packages/ecbx/src/ecbx/constants.py:1:1267268CPY001 Missing copyright notice at top of file269--> packages/ecbx/src/ecbx/store.py:1:1270271CPY001 Missing copyright notice at top of file272--> packages/ecbx/src/ecbx/utils.py:1:1273274Found 7 errors.275276ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1277278CPY001 Missing copyright notice at top of file279--> packages/working-days-calculator/src/working_days_calculator/__init__.py:1:1280281Found 1 error.282283ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1284285CPY001 Missing copyright notice at top of file286--> packages/sevdesk-api/src/sevdesk_api/__init__.py:1:1287288CPY001 Missing copyright notice at top of file289--> packages/sevdesk-api/src/sevdesk_api/accounting_types.py:1:1290291CPY001 Missing copyright notice at top of file292--> packages/sevdesk-api/src/sevdesk_api/api.py:1:1293294CPY001 Missing copyright notice at top of file295--> packages/sevdesk-api/src/sevdesk_api/check_accounts.py:1:1296297CPY001 Missing copyright notice at top of file298--> packages/sevdesk-api/src/sevdesk_api/client.py:1:1299300CPY001 Missing copyright notice at top of file301--> packages/sevdesk-api/src/sevdesk_api/contacts.py:1:1302303CPY001 Missing copyright notice at top of file304--> packages/sevdesk-api/src/sevdesk_api/invoices.py:1:1305306PLR0917 Too many positional arguments (6 > 5)307 --> packages/sevdesk-api/src/sevdesk_api/invoices.py:64:9308 |30962 | raise ValueError(msg)31063 |31164 | def get_invoices(312 | ^^^^^^^^^^^^31365 | self,31466 | limit: int = 100,315 |316help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle317318PLR0917 Too many positional arguments (6 > 5)319 --> packages/sevdesk-api/src/sevdesk_api/invoices.py:165:9320 |321163 | raise ValueError(msg)322164 |323165 | def send_invoice_by_email(324 | ^^^^^^^^^^^^^^^^^^^^^325166 | self,326167 | invoice_id: int,327 |328help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle329330CPY001 Missing copyright notice at top of file331--> packages/sevdesk-api/src/sevdesk_api/models/__init__.py:1:1332333CPY001 Missing copyright notice at top of file334--> packages/sevdesk-api/src/sevdesk_api/models/base.py:1:1335336CPY001 Missing copyright notice at top of file337--> packages/sevdesk-api/src/sevdesk_api/models/check_account.py:1:1338339CPY001 Missing copyright notice at top of file340--> packages/sevdesk-api/src/sevdesk_api/models/contact.py:1:1341342CPY001 Missing copyright notice at top of file343--> packages/sevdesk-api/src/sevdesk_api/models/invoice.py:1:1344345CPY001 Missing copyright notice at top of file346--> packages/sevdesk-api/src/sevdesk_api/object_resolver.py:1:1347348CPY001 Missing copyright notice at top of file349--> packages/sevdesk-api/src/sevdesk_api/transactions.py:1:1350351PLR0917 Too many positional arguments (7 > 5)352 --> packages/sevdesk-api/src/sevdesk_api/transactions.py:25:9353 |35423 | self.client = client35524 |35625 | def get_transactions(357 | ^^^^^^^^^^^^^^^^35826 | self,35927 | check_account_id: int | None = None,360 |361help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle362363PLR0917 Too many positional arguments (9 > 5)364 --> packages/sevdesk-api/src/sevdesk_api/transactions.py:81:9365 |36679 | return self.client.get(f"CheckAccountTransaction/{transaction_id}")36780 |36881 | def create_transaction(369 | ^^^^^^^^^^^^^^^^^^37082 | self,37183 | check_account_id: int,372 |373help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle374375PLR0917 Too many positional arguments (8 > 5)376 --> packages/sevdesk-api/src/sevdesk_api/transactions.py:132:9377 |378130 | return self.client.post("CheckAccountTransaction", json_data=data)379131 |380132 | def update_transaction(381 | ^^^^^^^^^^^^^^^^^^382133 | self,383134 | transaction_id: int,384 |385help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle386387CPY001 Missing copyright notice at top of file388--> packages/sevdesk-api/src/sevdesk_api/vouchers.py:1:1389390PLR0917 Too many positional arguments (8 > 5)391 --> packages/sevdesk-api/src/sevdesk_api/vouchers.py:185:9392 |393183 | self.accounting_types = accounting_types394184 |395185 | def get_vouchers(396 | ^^^^^^^^^^^^397186 | self,398187 | status: VoucherStatus | None = None,399 |400help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle401402PLR0917 Too many positional arguments (14 > 5)403 --> packages/sevdesk-api/src/sevdesk_api/vouchers.py:355:9404 |405353 | conn.close()406354 |407355 | def _build_voucher_data(408 | ^^^^^^^^^^^^^^^^^^^409356 | self,410357 | credit_debit: CreditDebit,411 |412help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle413414Found 22 errors.415416ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1417418CPY001 Missing copyright notice at top of file419--> packages/sevdesk-cli/src/sevdesk_cli/__init__.py:1:1420421CPY001 Missing copyright notice at top of file422--> packages/sevdesk-cli/src/sevdesk_cli/__main__.py:1:1423424CPY001 Missing copyright notice at top of file425--> packages/sevdesk-cli/src/sevdesk_cli/cli/__init__.py:1:1426427CPY001 Missing copyright notice at top of file428--> packages/sevdesk-cli/src/sevdesk_cli/cli/accounting_types.py:1:1429430CPY001 Missing copyright notice at top of file431--> packages/sevdesk-cli/src/sevdesk_cli/cli/check_accounts.py:1:1432433CPY001 Missing copyright notice at top of file434--> packages/sevdesk-cli/src/sevdesk_cli/cli/tax_rules.py:1:1435436CPY001 Missing copyright notice at top of file437--> packages/sevdesk-cli/src/sevdesk_cli/cli/transactions.py:1:1438439CPY001 Missing copyright notice at top of file440--> packages/sevdesk-cli/src/sevdesk_cli/cli/vouchers.py:1:1441442CPY001 Missing copyright notice at top of file443--> packages/sevdesk-cli/src/sevdesk_cli/errors.py:1:1444445CPY001 Missing copyright notice at top of file446--> packages/sevdesk-cli/src/sevdesk_cli/main.py:1:1447448Found 10 errors.449450ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1451452CPY001 Missing copyright notice at top of file453--> packages/harvest-invoicer/src/harvest_invoicer/__init__.py:1:1454455CPY001 Missing copyright notice at top of file456--> packages/harvest-invoicer/src/harvest_invoicer/app.py:1:1457458PLR0917 Too many positional arguments (7 > 5)459 --> packages/harvest-invoicer/src/harvest_invoicer/app.py:78:5460 |46178 | def _make_invoice(462 | ^^^^^^^^^^^^^46379 | lines: list[InvoiceLine],46480 | number: str,465 |466467PLR0917 Too many positional arguments (16 > 5)468 --> packages/harvest-invoicer/src/harvest_invoicer/app.py:103:5469 |470103 | def create_app(471 | ^^^^^^^^^^472104 | lines: list[InvoiceLine],473105 | issuer: dict[str, object],474 |475476CPY001 Missing copyright notice at top of file477--> packages/harvest-invoicer/src/harvest_invoicer/cli.py:1:1478479PLR0917 Too many positional arguments (7 > 5)480 --> packages/harvest-invoicer/src/harvest_invoicer/cli.py:182:5481 |482182 | def _build_invoice(483 | ^^^^^^^^^^^^^^484183 | lines: list[InvoiceLine],485184 | number: str,486 |487488PLR0917 Too many positional arguments (11 > 5)489 --> packages/harvest-invoicer/src/harvest_invoicer/cli.py:312:5490 |491310 | help="Use synthetic data (no Harvest credentials required).",492311 | )493312 | def serve(494 | ^^^^^495313 | client_filter: str | None,496314 | db_path: Path | None,497 |498499PLR0917 Too many positional arguments (14 > 5)500 --> packages/harvest-invoicer/src/harvest_invoicer/cli.py:525:5501 |502523 | @_MERGE_DUPLICATES_OPTION503524 | @_BILL_TO_OPTION504525 | def generate(505 | ^^^^^^^^506526 | months: tuple[str, ...],507527 | client_filter: str | None,508 |509510CPY001 Missing copyright notice at top of file511--> packages/harvest-invoicer/src/harvest_invoicer/config.py:1:1512513CPY001 Missing copyright notice at top of file514--> packages/harvest-invoicer/src/harvest_invoicer/db.py:1:1515516CPY001 Missing copyright notice at top of file517--> packages/harvest-invoicer/src/harvest_invoicer/fetch.py:1:1518519CPY001 Missing copyright notice at top of file520--> packages/harvest-invoicer/src/harvest_invoicer/i18n.py:1:1521522CPY001 Missing copyright notice at top of file523--> packages/harvest-invoicer/src/harvest_invoicer/mail.py:1:1524525CPY001 Missing copyright notice at top of file526--> packages/harvest-invoicer/src/harvest_invoicer/model.py:1:1527528CPY001 Missing copyright notice at top of file529--> packages/harvest-invoicer/src/harvest_invoicer/render.py:1:1530531Found 16 errors (1 fixed, 15 remaining).532533traversed 200 files534emitted 115 files for processing535formatted 18 files (1 changed) in 3.645s536Error: failed to finalise formatting: formatting failures detected