nixbot

builds

failed treefmt-check aarch64-darwin.formatting · build #113 · 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/working-days-calculator/src/working_days_calculator/__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/kimai/src/kimai/__init__.py:1:17475CPY001 Missing copyright notice at top of file76--> packages/kimai/src/kimai/api.py:1:17778PLR0917 Too many positional arguments (6 > 5)79 --> packages/kimai/src/kimai/api.py:84:980 |8182 | return ActivityInfo.from_json(activity_data[0])8283 |8384 | def get_time_entries(84 | ^^^^^^^^^^^^^^^^8585 | self,8686 | from_date: datetime,87 |88help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle8990CPY001 Missing copyright notice at top of file91--> packages/kimai/src/kimai/data.py:1:19293CPY001 Missing copyright notice at top of file94--> packages/kimai/src/kimai/jsonserializer.py:1:19596CPY001 Missing copyright notice at top of file97--> packages/kimai/src/kimai_exporter/__init__.py:1:19899CPY001 Missing copyright notice at top of file100--> packages/kimai/src/kimai_exporter/cli.py:1:1101102Found 7 errors.103104ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1105106CPY001 Missing copyright notice at top of file107--> packages/sevdesk-api/src/sevdesk_api/__init__.py:1:1108109CPY001 Missing copyright notice at top of file110--> packages/sevdesk-api/src/sevdesk_api/accounting_types.py:1:1111112CPY001 Missing copyright notice at top of file113--> packages/sevdesk-api/src/sevdesk_api/api.py:1:1114115CPY001 Missing copyright notice at top of file116--> packages/sevdesk-api/src/sevdesk_api/check_accounts.py:1:1117118CPY001 Missing copyright notice at top of file119--> packages/sevdesk-api/src/sevdesk_api/client.py:1:1120121CPY001 Missing copyright notice at top of file122--> packages/sevdesk-api/src/sevdesk_api/contacts.py:1:1123124CPY001 Missing copyright notice at top of file125--> packages/sevdesk-api/src/sevdesk_api/invoices.py:1:1126127PLR0917 Too many positional arguments (6 > 5)128 --> packages/sevdesk-api/src/sevdesk_api/invoices.py:64:9129 |13062 | raise ValueError(msg)13163 |13264 | def get_invoices(133 | ^^^^^^^^^^^^13465 | self,13566 | limit: int = 100,136 |137help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle138139PLR0917 Too many positional arguments (6 > 5)140 --> packages/sevdesk-api/src/sevdesk_api/invoices.py:165:9141 |142163 | raise ValueError(msg)143164 |144165 | def send_invoice_by_email(145 | ^^^^^^^^^^^^^^^^^^^^^146166 | self,147167 | invoice_id: int,148 |149help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle150151CPY001 Missing copyright notice at top of file152--> packages/sevdesk-api/src/sevdesk_api/models/__init__.py:1:1153154CPY001 Missing copyright notice at top of file155--> packages/sevdesk-api/src/sevdesk_api/models/base.py:1:1156157CPY001 Missing copyright notice at top of file158--> packages/sevdesk-api/src/sevdesk_api/models/check_account.py:1:1159160CPY001 Missing copyright notice at top of file161--> packages/sevdesk-api/src/sevdesk_api/models/contact.py:1:1162163CPY001 Missing copyright notice at top of file164--> packages/sevdesk-api/src/sevdesk_api/models/invoice.py:1:1165166CPY001 Missing copyright notice at top of file167--> packages/sevdesk-api/src/sevdesk_api/object_resolver.py:1:1168169CPY001 Missing copyright notice at top of file170--> packages/sevdesk-api/src/sevdesk_api/transactions.py:1:1171172PLR0917 Too many positional arguments (7 > 5)173 --> packages/sevdesk-api/src/sevdesk_api/transactions.py:25:9174 |17523 | self.client = client17624 |17725 | def get_transactions(178 | ^^^^^^^^^^^^^^^^17926 | self,18027 | check_account_id: int | None = None,181 |182help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle183184PLR0917 Too many positional arguments (9 > 5)185 --> packages/sevdesk-api/src/sevdesk_api/transactions.py:81:9186 |18779 | return self.client.get(f"CheckAccountTransaction/{transaction_id}")18880 |18981 | def create_transaction(190 | ^^^^^^^^^^^^^^^^^^19182 | self,19283 | check_account_id: int,193 |194help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle195196PLR0917 Too many positional arguments (8 > 5)197 --> packages/sevdesk-api/src/sevdesk_api/transactions.py:132:9198 |199130 | return self.client.post("CheckAccountTransaction", json_data=data)200131 |201132 | def update_transaction(202 | ^^^^^^^^^^^^^^^^^^203133 | self,204134 | transaction_id: int,205 |206help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle207208CPY001 Missing copyright notice at top of file209--> packages/sevdesk-api/src/sevdesk_api/vouchers.py:1:1210211PLR0917 Too many positional arguments (8 > 5)212 --> packages/sevdesk-api/src/sevdesk_api/vouchers.py:185:9213 |214183 | self.accounting_types = accounting_types215184 |216185 | def get_vouchers(217 | ^^^^^^^^^^^^218186 | self,219187 | status: VoucherStatus | None = None,220 |221help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle222223PLR0917 Too many positional arguments (14 > 5)224 --> packages/sevdesk-api/src/sevdesk_api/vouchers.py:355:9225 |226353 | conn.close()227354 |228355 | def _build_voucher_data(229 | ^^^^^^^^^^^^^^^^^^^230356 | self,231357 | credit_debit: CreditDebit,232 |233help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle234235Found 22 errors.236237ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1238239CPY001 Missing copyright notice at top of file240--> packages/sevdesk-invoicer/src/sevdesk_invoicer/__init__.py:1:1241242CPY001 Missing copyright notice at top of file243--> packages/sevdesk-invoicer/src/sevdesk_tax_estimator/__init__.py:1:1244245CPY001 Missing copyright notice at top of file246--> packages/sevdesk-invoicer/src/sevdesk_wise_importer/__init__.py:1:1247248PLR0917 Too many positional arguments (7 > 5)249 --> packages/sevdesk-invoicer/src/sevdesk_wise_importer/__init__.py:144:5250 |251144 | def import_record(252 | ^^^^^^^^^^^^^253145 | api: SevDeskAPI,254146 | accounts: Accounts,255 |256257Found 4 errors.258259ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1260261CPY001 Missing copyright notice at top of file262--> packages/paperless-cli/src/paperless_cli/__init__.py:1:1263264CPY001 Missing copyright notice at top of file265--> packages/paperless-cli/src/paperless_cli/api.py:1:1266267CPY001 Missing copyright notice at top of file268--> packages/paperless-cli/src/paperless_cli/cli/__init__.py:1:1269270CPY001 Missing copyright notice at top of file271--> packages/paperless-cli/src/paperless_cli/cli/documents.py:1:1272273CPY001 Missing copyright notice at top of file274--> packages/paperless-cli/src/paperless_cli/cli/formatter.py:1:1275276CPY001 Missing copyright notice at top of file277--> packages/paperless-cli/src/paperless_cli/cli/mail_accounts.py:1:1278279CPY001 Missing copyright notice at top of file280--> packages/paperless-cli/src/paperless_cli/cli/mail_rules.py:1:1281282CPY001 Missing copyright notice at top of file283--> packages/paperless-cli/src/paperless_cli/cli/main.py:1:1284285CPY001 Missing copyright notice at top of file286--> packages/paperless-cli/src/paperless_cli/cli/tags.py:1:1287288CPY001 Missing copyright notice at top of file289--> packages/paperless-cli/src/paperless_cli/errors.py:1:1290291CPY001 Missing copyright notice at top of file292--> packages/paperless-cli/src/paperless_cli/models/__init__.py:1:1293294CPY001 Missing copyright notice at top of file295--> packages/paperless-cli/src/paperless_cli/models/base.py:1:1296297CPY001 Missing copyright notice at top of file298--> packages/paperless-cli/src/paperless_cli/models/correspondent.py:1:1299300CPY001 Missing copyright notice at top of file301--> packages/paperless-cli/src/paperless_cli/models/document.py:1:1302303CPY001 Missing copyright notice at top of file304--> packages/paperless-cli/src/paperless_cli/models/mail.py:1:1305306CPY001 Missing copyright notice at top of file307--> packages/paperless-cli/src/paperless_cli/models/tag.py:1:1308309CPY001 Missing copyright notice at top of file310--> packages/paperless-cli/src/paperless_cli/models/task.py:1:1311312Found 17 errors.313314ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1315316CPY001 Missing copyright notice at top of file317--> packages/wise-exporter/src/wise_exporter/__init__.py:1:1318319Found 1 error.320321ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1322323CPY001 Missing copyright notice at top of file324--> packages/quipu-invoicer/src/quipu_api/__init__.py:1:1325326CPY001 Missing copyright notice at top of file327--> packages/quipu-invoicer/src/quipu_api/cli.py:1:1328329CPY001 Missing copyright notice at top of file330--> packages/quipu-invoicer/src/quipu_invoicer/__init__.py:1:1331332PLR0917 Too many positional arguments (10 > 5)333 --> packages/quipu-invoicer/src/quipu_invoicer/__init__.py:47:5334 |33545 | )33646 | @click.argument("json_file", type=click.Path(exists=True))33747 | def main(338 | ^^^^33948 | quipu_app_id: str,34049 | quipu_app_secret: str,341 |342343PLR0917 Too many positional arguments (10 > 5)344 --> packages/quipu-invoicer/src/quipu_invoicer/__init__.py:75:5345 |34675 | def create_invoice(347 | ^^^^^^^^^^^^^^34876 | app_id: str,34977 | app_secret: str,350 |351352Found 5 errors.353354ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1355356CPY001 Missing copyright notice at top of file357--> packages/sevdesk-cli/src/sevdesk_cli/__init__.py:1:1358359CPY001 Missing copyright notice at top of file360--> packages/sevdesk-cli/src/sevdesk_cli/__main__.py:1:1361362CPY001 Missing copyright notice at top of file363--> packages/sevdesk-cli/src/sevdesk_cli/cli/__init__.py:1:1364365CPY001 Missing copyright notice at top of file366--> packages/sevdesk-cli/src/sevdesk_cli/cli/accounting_types.py:1:1367368CPY001 Missing copyright notice at top of file369--> packages/sevdesk-cli/src/sevdesk_cli/cli/check_accounts.py:1:1370371CPY001 Missing copyright notice at top of file372--> packages/sevdesk-cli/src/sevdesk_cli/cli/tax_rules.py:1:1373374CPY001 Missing copyright notice at top of file375--> packages/sevdesk-cli/src/sevdesk_cli/cli/transactions.py:1:1376377CPY001 Missing copyright notice at top of file378--> packages/sevdesk-cli/src/sevdesk_cli/cli/vouchers.py:1:1379380CPY001 Missing copyright notice at top of file381--> packages/sevdesk-cli/src/sevdesk_cli/errors.py:1:1382383CPY001 Missing copyright notice at top of file384--> packages/sevdesk-cli/src/sevdesk_cli/main.py:1:1385386Found 10 errors.387388ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1389390CPY001 Missing copyright notice at top of file391--> packages/transferwise/src/transferwise/__init__.py:1:1392393Found 1 error.394395ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1396397CPY001 Missing copyright notice at top of file398--> packages/harvest/src/harvest/__init__.py:1:1399400CPY001 Missing copyright notice at top of file401--> packages/harvest/src/harvest_exporter/__init__.py:1:1402403CPY001 Missing copyright notice at top of file404--> packages/harvest/src/harvest_exporter/cli.py:1:1405406CPY001 Missing copyright notice at top of file407--> packages/harvest/src/harvest_exporter/export.py:1:1408409CPY001 Missing copyright notice at top of file410--> packages/harvest/src/harvest_rounder/__init__.py:1:1411412CPY001 Missing copyright notice at top of file413--> packages/harvest/src/harvest_rounder/cli.py:1:1414415Found 6 errors.416417ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1418419CPY001 Missing copyright notice at top of file420--> packages/ecbx/src/ecbx/__init__.py:1:1421422CPY001 Missing copyright notice at top of file423--> packages/ecbx/src/ecbx/__main__.py:1:1424425CPY001 Missing copyright notice at top of file426--> packages/ecbx/src/ecbx/cli.py:1:1427428PLR0917 Too many positional arguments (6 > 5)429 --> packages/ecbx/src/ecbx/cli.py:134:5430 |431132 | )432133 | @click.pass_context433134 | def convert(434 | ^^^^^^^435135 | ctx: click.Context,436136 | date: str | None,437 |438439CPY001 Missing copyright notice at top of file440--> packages/ecbx/src/ecbx/constants.py:1:1441442CPY001 Missing copyright notice at top of file443--> packages/ecbx/src/ecbx/store.py:1:1444445CPY001 Missing copyright notice at top of file446--> packages/ecbx/src/ecbx/utils.py:1:1447448Found 7 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 2.637s536Error: failed to finalise formatting: formatting failures detected