nixbot

builds

failed treefmt-check checks.aarch64-darwin.formatting · build #116 · 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/rest/src/rest/__init__.py:1:156Found 1 error.78ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1910CPY001 Missing copyright notice at top of file11--> packages/transferwise/src/transferwise/__init__.py:1:11213Found 1 error.1415ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 11617CPY001 Missing copyright notice at top of file18--> packages/sevdesk-api/src/sevdesk_api/__init__.py:1:11920CPY001 Missing copyright notice at top of file21--> packages/sevdesk-api/src/sevdesk_api/accounting_types.py:1:12223CPY001 Missing copyright notice at top of file24--> packages/sevdesk-api/src/sevdesk_api/api.py:1:12526CPY001 Missing copyright notice at top of file27--> packages/sevdesk-api/src/sevdesk_api/check_accounts.py:1:12829CPY001 Missing copyright notice at top of file30--> packages/sevdesk-api/src/sevdesk_api/client.py:1:13132CPY001 Missing copyright notice at top of file33--> packages/sevdesk-api/src/sevdesk_api/contacts.py:1:13435CPY001 Missing copyright notice at top of file36--> packages/sevdesk-api/src/sevdesk_api/invoices.py:1:13738PLR0917 Too many positional arguments (6 > 5)39 --> packages/sevdesk-api/src/sevdesk_api/invoices.py:64:940 |4162 | raise ValueError(msg)4263 |4364 | def get_invoices(44 | ^^^^^^^^^^^^4565 | self,4666 | limit: int = 100,47 |48help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle4950PLR0917 Too many positional arguments (6 > 5)51 --> packages/sevdesk-api/src/sevdesk_api/invoices.py:165:952 |53163 | raise ValueError(msg)54164 |55165 | def send_invoice_by_email(56 | ^^^^^^^^^^^^^^^^^^^^^57166 | self,58167 | invoice_id: int,59 |60help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle6162CPY001 Missing copyright notice at top of file63--> packages/sevdesk-api/src/sevdesk_api/models/__init__.py:1:16465CPY001 Missing copyright notice at top of file66--> packages/sevdesk-api/src/sevdesk_api/models/base.py:1:16768CPY001 Missing copyright notice at top of file69--> packages/sevdesk-api/src/sevdesk_api/models/check_account.py:1:17071CPY001 Missing copyright notice at top of file72--> packages/sevdesk-api/src/sevdesk_api/models/contact.py:1:17374CPY001 Missing copyright notice at top of file75--> packages/sevdesk-api/src/sevdesk_api/models/invoice.py:1:17677CPY001 Missing copyright notice at top of file78--> packages/sevdesk-api/src/sevdesk_api/object_resolver.py:1:17980CPY001 Missing copyright notice at top of file81--> packages/sevdesk-api/src/sevdesk_api/transactions.py:1:18283PLR0917 Too many positional arguments (7 > 5)84 --> packages/sevdesk-api/src/sevdesk_api/transactions.py:25:985 |8623 | self.client = client8724 |8825 | def get_transactions(89 | ^^^^^^^^^^^^^^^^9026 | self,9127 | check_account_id: int | None = None,92 |93help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle9495PLR0917 Too many positional arguments (9 > 5)96 --> packages/sevdesk-api/src/sevdesk_api/transactions.py:81:997 |9879 | return self.client.get(f"CheckAccountTransaction/{transaction_id}")9980 |10081 | def create_transaction(101 | ^^^^^^^^^^^^^^^^^^10282 | self,10383 | check_account_id: int,104 |105help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle106107PLR0917 Too many positional arguments (8 > 5)108 --> packages/sevdesk-api/src/sevdesk_api/transactions.py:132:9109 |110130 | return self.client.post("CheckAccountTransaction", json_data=data)111131 |112132 | def update_transaction(113 | ^^^^^^^^^^^^^^^^^^114133 | self,115134 | transaction_id: int,116 |117help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle118119CPY001 Missing copyright notice at top of file120--> packages/sevdesk-api/src/sevdesk_api/vouchers.py:1:1121122PLR0917 Too many positional arguments (8 > 5)123 --> packages/sevdesk-api/src/sevdesk_api/vouchers.py:185:9124 |125183 | self.accounting_types = accounting_types126184 |127185 | def get_vouchers(128 | ^^^^^^^^^^^^129186 | self,130187 | status: VoucherStatus | None = None,131 |132help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle133134PLR0917 Too many positional arguments (14 > 5)135 --> packages/sevdesk-api/src/sevdesk_api/vouchers.py:355:9136 |137353 | conn.close()138354 |139355 | def _build_voucher_data(140 | ^^^^^^^^^^^^^^^^^^^141356 | self,142357 | credit_debit: CreditDebit,143 |144help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle145146Found 22 errors.147148ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1149150CPY001 Missing copyright notice at top of file151--> packages/kimai/src/kimai/__init__.py:1:1152153CPY001 Missing copyright notice at top of file154--> packages/kimai/src/kimai/api.py:1:1155156PLR0917 Too many positional arguments (6 > 5)157 --> packages/kimai/src/kimai/api.py:84:9158 |15982 | return ActivityInfo.from_json(activity_data[0])16083 |16184 | def get_time_entries(162 | ^^^^^^^^^^^^^^^^16385 | self,16486 | from_date: datetime,165 |166help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle167168CPY001 Missing copyright notice at top of file169--> packages/kimai/src/kimai/data.py:1:1170171CPY001 Missing copyright notice at top of file172--> packages/kimai/src/kimai/jsonserializer.py:1:1173174CPY001 Missing copyright notice at top of file175--> packages/kimai/src/kimai_exporter/__init__.py:1:1176177CPY001 Missing copyright notice at top of file178--> packages/kimai/src/kimai_exporter/cli.py:1:1179180Found 7 errors.181182ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1183184CPY001 Missing copyright notice at top of file185--> packages/sevdesk-invoicer/src/sevdesk_invoicer/__init__.py:1:1186187CPY001 Missing copyright notice at top of file188--> packages/sevdesk-invoicer/src/sevdesk_tax_estimator/__init__.py:1:1189190CPY001 Missing copyright notice at top of file191--> packages/sevdesk-invoicer/src/sevdesk_wise_importer/__init__.py:1:1192193PLR0917 Too many positional arguments (7 > 5)194 --> packages/sevdesk-invoicer/src/sevdesk_wise_importer/__init__.py:144:5195 |196144 | def import_record(197 | ^^^^^^^^^^^^^198145 | api: SevDeskAPI,199146 | accounts: Accounts,200 |201202Found 4 errors.203204ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1205206CPY001 Missing copyright notice at top of file207--> packages/ecbx/tests/__init__.py:1:1208209CPY001 Missing copyright notice at top of file210--> packages/ecbx/tests/conftest.py:1:1211212CPY001 Missing copyright notice at top of file213--> packages/ecbx/tests/test_cli.py:1:1214215CPY001 Missing copyright notice at top of file216--> packages/ecbx/tests/test_exchange_rate_store.py:1:1217218CPY001 Missing copyright notice at top of file219--> packages/ecbx/tests/test_utils.py:1:1220221CPY001 Missing copyright notice at top of file222--> packages/harvest-invoicer/tests/__init__.py:1:1223224CPY001 Missing copyright notice at top of file225--> packages/harvest-invoicer/tests/e2e_demo.py:1:1226227CPY001 Missing copyright notice at top of file228--> packages/harvest-invoicer/tests/test_app.py:1:1229230CPY001 Missing copyright notice at top of file231--> packages/harvest-invoicer/tests/test_cli.py:1:1232233CPY001 Missing copyright notice at top of file234--> packages/harvest-invoicer/tests/test_config.py:1:1235236CPY001 Missing copyright notice at top of file237--> packages/harvest-invoicer/tests/test_db.py:1:1238239CPY001 Missing copyright notice at top of file240--> packages/harvest-invoicer/tests/test_fetch.py:1:1241242CPY001 Missing copyright notice at top of file243--> packages/harvest-invoicer/tests/test_i18n.py:1:1244245CPY001 Missing copyright notice at top of file246--> packages/harvest-invoicer/tests/test_mail.py:1:1247248CPY001 Missing copyright notice at top of file249--> packages/harvest-invoicer/tests/test_model.py:1:1250251CPY001 Missing copyright notice at top of file252--> packages/harvest-invoicer/tests/test_render.py:1:1253254CPY001 Missing copyright notice at top of file255--> packages/harvest-invoicer/tests/test_rest_retry.py:1:1256257Found 17 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/sevdesk-cli/src/sevdesk_cli/__init__.py:1:1318319CPY001 Missing copyright notice at top of file320--> packages/sevdesk-cli/src/sevdesk_cli/__main__.py:1:1321322CPY001 Missing copyright notice at top of file323--> packages/sevdesk-cli/src/sevdesk_cli/cli/__init__.py:1:1324325CPY001 Missing copyright notice at top of file326--> packages/sevdesk-cli/src/sevdesk_cli/cli/accounting_types.py:1:1327328CPY001 Missing copyright notice at top of file329--> packages/sevdesk-cli/src/sevdesk_cli/cli/check_accounts.py:1:1330331CPY001 Missing copyright notice at top of file332--> packages/sevdesk-cli/src/sevdesk_cli/cli/tax_rules.py:1:1333334CPY001 Missing copyright notice at top of file335--> packages/sevdesk-cli/src/sevdesk_cli/cli/transactions.py:1:1336337CPY001 Missing copyright notice at top of file338--> packages/sevdesk-cli/src/sevdesk_cli/cli/vouchers.py:1:1339340CPY001 Missing copyright notice at top of file341--> packages/sevdesk-cli/src/sevdesk_cli/errors.py:1:1342343CPY001 Missing copyright notice at top of file344--> packages/sevdesk-cli/src/sevdesk_cli/main.py:1:1345346Found 10 errors.347348ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1349350CPY001 Missing copyright notice at top of file351--> packages/quipu-invoicer/src/quipu_api/__init__.py:1:1352353CPY001 Missing copyright notice at top of file354--> packages/quipu-invoicer/src/quipu_api/cli.py:1:1355356CPY001 Missing copyright notice at top of file357--> packages/quipu-invoicer/src/quipu_invoicer/__init__.py:1:1358359PLR0917 Too many positional arguments (10 > 5)360 --> packages/quipu-invoicer/src/quipu_invoicer/__init__.py:47:5361 |36245 | )36346 | @click.argument("json_file", type=click.Path(exists=True))36447 | def main(365 | ^^^^36648 | quipu_app_id: str,36749 | quipu_app_secret: str,368 |369370PLR0917 Too many positional arguments (10 > 5)371 --> packages/quipu-invoicer/src/quipu_invoicer/__init__.py:75:5372 |37375 | def create_invoice(374 | ^^^^^^^^^^^^^^37576 | app_id: str,37677 | app_secret: str,377 |378379Found 5 errors.380381ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1382383CPY001 Missing copyright notice at top of file384--> packages/working-days-calculator/src/working_days_calculator/__init__.py:1:1385386Found 1 error.387388ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1389390CPY001 Missing copyright notice at top of file391--> packages/harvest/src/harvest/__init__.py:1:1392393CPY001 Missing copyright notice at top of file394--> packages/harvest/src/harvest_exporter/__init__.py:1:1395396CPY001 Missing copyright notice at top of file397--> packages/harvest/src/harvest_exporter/cli.py:1:1398399CPY001 Missing copyright notice at top of file400--> packages/harvest/src/harvest_exporter/export.py:1:1401402CPY001 Missing copyright notice at top of file403--> packages/harvest/src/harvest_rounder/__init__.py:1:1404405CPY001 Missing copyright notice at top of file406--> packages/harvest/src/harvest_rounder/cli.py:1:1407408Found 6 errors.409410ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1411412CPY001 Missing copyright notice at top of file413--> packages/ecbx/src/ecbx/__init__.py:1:1414415CPY001 Missing copyright notice at top of file416--> packages/ecbx/src/ecbx/__main__.py:1:1417418CPY001 Missing copyright notice at top of file419--> packages/ecbx/src/ecbx/cli.py:1:1420421PLR0917 Too many positional arguments (6 > 5)422 --> packages/ecbx/src/ecbx/cli.py:134:5423 |424132 | )425133 | @click.pass_context426134 | def convert(427 | ^^^^^^^428135 | ctx: click.Context,429136 | date: str | None,430 |431432CPY001 Missing copyright notice at top of file433--> packages/ecbx/src/ecbx/constants.py:1:1434435CPY001 Missing copyright notice at top of file436--> packages/ecbx/src/ecbx/store.py:1:1437438CPY001 Missing copyright notice at top of file439--> packages/ecbx/src/ecbx/utils.py:1:1440441Found 7 errors.442443ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1444445CPY001 Missing copyright notice at top of file446--> packages/wise-exporter/src/wise_exporter/__init__.py:1:1447448Found 1 error.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 19.917s536Error: failed to finalise formatting: formatting failures detected