treefmt-check
aarch64-darwin.formatting
· build #104
· 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/working-days-calculator/src/working_days_calculator/__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/rest/src/rest/__init__.py:1:11920Found 1 error.2122ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 12324CPY001 Missing copyright notice at top of file25--> packages/sevdesk-api/src/sevdesk_api/__init__.py:1:12627CPY001 Missing copyright notice at top of file28--> packages/sevdesk-api/src/sevdesk_api/accounting_types.py:1:12930CPY001 Missing copyright notice at top of file31--> packages/sevdesk-api/src/sevdesk_api/api.py:1:13233CPY001 Missing copyright notice at top of file34--> packages/sevdesk-api/src/sevdesk_api/check_accounts.py:1:13536CPY001 Missing copyright notice at top of file37--> packages/sevdesk-api/src/sevdesk_api/client.py:1:13839CPY001 Missing copyright notice at top of file40--> packages/sevdesk-api/src/sevdesk_api/contacts.py:1:14142CPY001 Missing copyright notice at top of file43--> packages/sevdesk-api/src/sevdesk_api/invoices.py:1:14445PLR0917 Too many positional arguments (6 > 5)46 --> packages/sevdesk-api/src/sevdesk_api/invoices.py:64:947 |4862 | raise ValueError(msg)4963 |5064 | def get_invoices(51 | ^^^^^^^^^^^^5265 | self,5366 | limit: int = 100,54 |55help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle5657PLR0917 Too many positional arguments (6 > 5)58 --> packages/sevdesk-api/src/sevdesk_api/invoices.py:165:959 |60163 | raise ValueError(msg)61164 |62165 | def send_invoice_by_email(63 | ^^^^^^^^^^^^^^^^^^^^^64166 | self,65167 | invoice_id: int,66 |67help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle6869CPY001 Missing copyright notice at top of file70--> packages/sevdesk-api/src/sevdesk_api/models/__init__.py:1:17172CPY001 Missing copyright notice at top of file73--> packages/sevdesk-api/src/sevdesk_api/models/base.py:1:17475CPY001 Missing copyright notice at top of file76--> packages/sevdesk-api/src/sevdesk_api/models/check_account.py:1:17778CPY001 Missing copyright notice at top of file79--> packages/sevdesk-api/src/sevdesk_api/models/contact.py:1:18081CPY001 Missing copyright notice at top of file82--> packages/sevdesk-api/src/sevdesk_api/models/invoice.py:1:18384CPY001 Missing copyright notice at top of file85--> packages/sevdesk-api/src/sevdesk_api/object_resolver.py:1:18687CPY001 Missing copyright notice at top of file88--> packages/sevdesk-api/src/sevdesk_api/transactions.py:1:18990PLR0917 Too many positional arguments (7 > 5)91 --> packages/sevdesk-api/src/sevdesk_api/transactions.py:25:992 |9323 | self.client = client9424 |9525 | def get_transactions(96 | ^^^^^^^^^^^^^^^^9726 | self,9827 | check_account_id: int | None = None,99 |100help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle101102PLR0917 Too many positional arguments (9 > 5)103 --> packages/sevdesk-api/src/sevdesk_api/transactions.py:81:9104 |10579 | return self.client.get(f"CheckAccountTransaction/{transaction_id}")10680 |10781 | def create_transaction(108 | ^^^^^^^^^^^^^^^^^^10982 | self,11083 | check_account_id: int,111 |112help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle113114PLR0917 Too many positional arguments (8 > 5)115 --> packages/sevdesk-api/src/sevdesk_api/transactions.py:132:9116 |117130 | return self.client.post("CheckAccountTransaction", json_data=data)118131 |119132 | def update_transaction(120 | ^^^^^^^^^^^^^^^^^^121133 | self,122134 | transaction_id: int,123 |124help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle125126CPY001 Missing copyright notice at top of file127--> packages/sevdesk-api/src/sevdesk_api/vouchers.py:1:1128129PLR0917 Too many positional arguments (8 > 5)130 --> packages/sevdesk-api/src/sevdesk_api/vouchers.py:185:9131 |132183 | self.accounting_types = accounting_types133184 |134185 | def get_vouchers(135 | ^^^^^^^^^^^^136186 | self,137187 | status: VoucherStatus | None = None,138 |139help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle140141PLR0917 Too many positional arguments (14 > 5)142 --> packages/sevdesk-api/src/sevdesk_api/vouchers.py:355:9143 |144353 | conn.close()145354 |146355 | def _build_voucher_data(147 | ^^^^^^^^^^^^^^^^^^^148356 | self,149357 | credit_debit: CreditDebit,150 |151help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle152153Found 22 errors.154155ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1156157CPY001 Missing copyright notice at top of file158--> packages/ecbx/tests/__init__.py:1:1159160CPY001 Missing copyright notice at top of file161--> packages/ecbx/tests/conftest.py:1:1162163CPY001 Missing copyright notice at top of file164--> packages/ecbx/tests/test_cli.py:1:1165166CPY001 Missing copyright notice at top of file167--> packages/ecbx/tests/test_exchange_rate_store.py:1:1168169CPY001 Missing copyright notice at top of file170--> packages/ecbx/tests/test_utils.py:1:1171172CPY001 Missing copyright notice at top of file173--> packages/harvest-invoicer/tests/__init__.py:1:1174175CPY001 Missing copyright notice at top of file176--> packages/harvest-invoicer/tests/e2e_demo.py:1:1177178CPY001 Missing copyright notice at top of file179--> packages/harvest-invoicer/tests/test_app.py:1:1180181CPY001 Missing copyright notice at top of file182--> packages/harvest-invoicer/tests/test_cli.py:1:1183184CPY001 Missing copyright notice at top of file185--> packages/harvest-invoicer/tests/test_config.py:1:1186187CPY001 Missing copyright notice at top of file188--> packages/harvest-invoicer/tests/test_db.py:1:1189190CPY001 Missing copyright notice at top of file191--> packages/harvest-invoicer/tests/test_fetch.py:1:1192193CPY001 Missing copyright notice at top of file194--> packages/harvest-invoicer/tests/test_i18n.py:1:1195196CPY001 Missing copyright notice at top of file197--> packages/harvest-invoicer/tests/test_model.py:1:1198199CPY001 Missing copyright notice at top of file200--> packages/harvest-invoicer/tests/test_render.py:1:1201202CPY001 Missing copyright notice at top of file203--> packages/harvest-invoicer/tests/test_rest_retry.py:1:1204205Found 16 errors.206207ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1208209CPY001 Missing copyright notice at top of file210--> packages/sevdesk-cli/src/sevdesk_cli/__init__.py:1:1211212CPY001 Missing copyright notice at top of file213--> packages/sevdesk-cli/src/sevdesk_cli/__main__.py:1:1214215CPY001 Missing copyright notice at top of file216--> packages/sevdesk-cli/src/sevdesk_cli/cli/__init__.py:1:1217218CPY001 Missing copyright notice at top of file219--> packages/sevdesk-cli/src/sevdesk_cli/cli/accounting_types.py:1:1220221CPY001 Missing copyright notice at top of file222--> packages/sevdesk-cli/src/sevdesk_cli/cli/check_accounts.py:1:1223224CPY001 Missing copyright notice at top of file225--> packages/sevdesk-cli/src/sevdesk_cli/cli/tax_rules.py:1:1226227CPY001 Missing copyright notice at top of file228--> packages/sevdesk-cli/src/sevdesk_cli/cli/transactions.py:1:1229230CPY001 Missing copyright notice at top of file231--> packages/sevdesk-cli/src/sevdesk_cli/cli/vouchers.py:1:1232233CPY001 Missing copyright notice at top of file234--> packages/sevdesk-cli/src/sevdesk_cli/errors.py:1:1235236CPY001 Missing copyright notice at top of file237--> packages/sevdesk-cli/src/sevdesk_cli/main.py:1:1238239Found 10 errors.240241ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1242243CPY001 Missing copyright notice at top of file244--> packages/kimai/src/kimai/__init__.py:1:1245246CPY001 Missing copyright notice at top of file247--> packages/kimai/src/kimai/api.py:1:1248249PLR0917 Too many positional arguments (6 > 5)250 --> packages/kimai/src/kimai/api.py:84:9251 |25282 | return ActivityInfo.from_json(activity_data[0])25383 |25484 | def get_time_entries(255 | ^^^^^^^^^^^^^^^^25685 | self,25786 | from_date: datetime,258 |259help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle260261CPY001 Missing copyright notice at top of file262--> packages/kimai/src/kimai/data.py:1:1263264CPY001 Missing copyright notice at top of file265--> packages/kimai/src/kimai/jsonserializer.py:1:1266267CPY001 Missing copyright notice at top of file268--> packages/kimai/src/kimai_exporter/__init__.py:1:1269270CPY001 Missing copyright notice at top of file271--> packages/kimai/src/kimai_exporter/cli.py:1:1272273Found 7 errors.274275ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1276277CPY001 Missing copyright notice at top of file278--> packages/paperless-cli/src/paperless_cli/__init__.py:1:1279280CPY001 Missing copyright notice at top of file281--> packages/paperless-cli/src/paperless_cli/api.py:1:1282283CPY001 Missing copyright notice at top of file284--> packages/paperless-cli/src/paperless_cli/cli/__init__.py:1:1285286CPY001 Missing copyright notice at top of file287--> packages/paperless-cli/src/paperless_cli/cli/documents.py:1:1288289CPY001 Missing copyright notice at top of file290--> packages/paperless-cli/src/paperless_cli/cli/formatter.py:1:1291292CPY001 Missing copyright notice at top of file293--> packages/paperless-cli/src/paperless_cli/cli/mail_accounts.py:1:1294295CPY001 Missing copyright notice at top of file296--> packages/paperless-cli/src/paperless_cli/cli/mail_rules.py:1:1297298CPY001 Missing copyright notice at top of file299--> packages/paperless-cli/src/paperless_cli/cli/main.py:1:1300301CPY001 Missing copyright notice at top of file302--> packages/paperless-cli/src/paperless_cli/cli/tags.py:1:1303304CPY001 Missing copyright notice at top of file305--> packages/paperless-cli/src/paperless_cli/errors.py:1:1306307CPY001 Missing copyright notice at top of file308--> packages/paperless-cli/src/paperless_cli/models/__init__.py:1:1309310CPY001 Missing copyright notice at top of file311--> packages/paperless-cli/src/paperless_cli/models/base.py:1:1312313CPY001 Missing copyright notice at top of file314--> packages/paperless-cli/src/paperless_cli/models/correspondent.py:1:1315316CPY001 Missing copyright notice at top of file317--> packages/paperless-cli/src/paperless_cli/models/document.py:1:1318319CPY001 Missing copyright notice at top of file320--> packages/paperless-cli/src/paperless_cli/models/mail.py:1:1321322CPY001 Missing copyright notice at top of file323--> packages/paperless-cli/src/paperless_cli/models/tag.py:1:1324325CPY001 Missing copyright notice at top of file326--> packages/paperless-cli/src/paperless_cli/models/task.py:1:1327328Found 17 errors.329330ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1331332CPY001 Missing copyright notice at top of file333--> packages/quipu-invoicer/src/quipu_api/__init__.py:1:1334335CPY001 Missing copyright notice at top of file336--> packages/quipu-invoicer/src/quipu_api/cli.py:1:1337338CPY001 Missing copyright notice at top of file339--> packages/quipu-invoicer/src/quipu_invoicer/__init__.py:1:1340341PLR0917 Too many positional arguments (10 > 5)342 --> packages/quipu-invoicer/src/quipu_invoicer/__init__.py:47:5343 |34445 | )34546 | @click.argument("json_file", type=click.Path(exists=True))34647 | def main(347 | ^^^^34848 | quipu_app_id: str,34949 | quipu_app_secret: str,350 |351352PLR0917 Too many positional arguments (10 > 5)353 --> packages/quipu-invoicer/src/quipu_invoicer/__init__.py:75:5354 |35575 | def create_invoice(356 | ^^^^^^^^^^^^^^35776 | app_id: str,35877 | app_secret: str,359 |360361Found 5 errors.362363ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1364365CPY001 Missing copyright notice at top of file366--> packages/harvest/src/harvest/__init__.py:1:1367368CPY001 Missing copyright notice at top of file369--> packages/harvest/src/harvest_exporter/__init__.py:1:1370371CPY001 Missing copyright notice at top of file372--> packages/harvest/src/harvest_exporter/cli.py:1:1373374CPY001 Missing copyright notice at top of file375--> packages/harvest/src/harvest_exporter/export.py:1:1376377CPY001 Missing copyright notice at top of file378--> packages/harvest/src/harvest_rounder/__init__.py:1:1379380CPY001 Missing copyright notice at top of file381--> packages/harvest/src/harvest_rounder/cli.py:1:1382383Found 6 errors.384385ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1386387CPY001 Missing copyright notice at top of file388--> packages/sevdesk-invoicer/src/sevdesk_invoicer/__init__.py:1:1389390CPY001 Missing copyright notice at top of file391--> packages/sevdesk-invoicer/src/sevdesk_tax_estimator/__init__.py:1:1392393CPY001 Missing copyright notice at top of file394--> packages/sevdesk-invoicer/src/sevdesk_wise_importer/__init__.py:1:1395396PLR0917 Too many positional arguments (7 > 5)397 --> packages/sevdesk-invoicer/src/sevdesk_wise_importer/__init__.py:144:5398 |399144 | def import_record(400 | ^^^^^^^^^^^^^401145 | api: SevDeskAPI,402146 | accounts: Accounts,403 |404405Found 4 errors.406407ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1408409CPY001 Missing copyright notice at top of file410--> packages/wise-exporter/src/wise_exporter/__init__.py:1:1411412Found 1 error.413414ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1415416CPY001 Missing copyright notice at top of file417--> packages/ecbx/src/ecbx/__init__.py:1:1418419CPY001 Missing copyright notice at top of file420--> packages/ecbx/src/ecbx/__main__.py:1:1421422CPY001 Missing copyright notice at top of file423--> packages/ecbx/src/ecbx/cli.py:1:1424425PLR0917 Too many positional arguments (6 > 5)426 --> packages/ecbx/src/ecbx/cli.py:134:5427 |428132 | )429133 | @click.pass_context430134 | def convert(431 | ^^^^^^^432135 | ctx: click.Context,433136 | date: str | None,434 |435436CPY001 Missing copyright notice at top of file437--> packages/ecbx/src/ecbx/constants.py:1:1438439CPY001 Missing copyright notice at top of file440--> packages/ecbx/src/ecbx/store.py:1:1441442CPY001 Missing copyright notice at top of file443--> packages/ecbx/src/ecbx/utils.py:1:1444445Found 7 errors.446447ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1448449CPY001 Missing copyright notice at top of file450--> packages/harvest-invoicer/src/harvest_invoicer/__init__.py:1:1451452CPY001 Missing copyright notice at top of file453--> packages/harvest-invoicer/src/harvest_invoicer/app.py:1:1454455PLR0917 Too many positional arguments (7 > 5)456 --> packages/harvest-invoicer/src/harvest_invoicer/app.py:77:5457 |45877 | def _make_invoice(459 | ^^^^^^^^^^^^^46078 | lines: list[InvoiceLine],46179 | number: str,462 |463464PLR0917 Too many positional arguments (16 > 5)465 --> packages/harvest-invoicer/src/harvest_invoicer/app.py:102:5466 |467102 | def create_app(468 | ^^^^^^^^^^469103 | lines: list[InvoiceLine],470104 | issuer: dict[str, object],471 |472473CPY001 Missing copyright notice at top of file474--> packages/harvest-invoicer/src/harvest_invoicer/cli.py:1:1475476PLR0917 Too many positional arguments (7 > 5)477 --> packages/harvest-invoicer/src/harvest_invoicer/cli.py:182:5478 |479182 | def _build_invoice(480 | ^^^^^^^^^^^^^^481183 | lines: list[InvoiceLine],482184 | number: str,483 |484485PLR0917 Too many positional arguments (11 > 5)486 --> packages/harvest-invoicer/src/harvest_invoicer/cli.py:312:5487 |488310 | help="Use synthetic data (no Harvest credentials required).",489311 | )490312 | def serve(491 | ^^^^^492313 | client_filter: str | None,493314 | db_path: Path | None,494 |495496PLR0917 Too many positional arguments (14 > 5)497 --> packages/harvest-invoicer/src/harvest_invoicer/cli.py:525:5498 |499523 | @_MERGE_DUPLICATES_OPTION500524 | @_BILL_TO_OPTION501525 | def generate(502 | ^^^^^^^^503526 | months: tuple[str, ...],504527 | client_filter: str | None,505 |506507CPY001 Missing copyright notice at top of file508--> packages/harvest-invoicer/src/harvest_invoicer/config.py:1:1509510CPY001 Missing copyright notice at top of file511--> packages/harvest-invoicer/src/harvest_invoicer/db.py:1:1512513CPY001 Missing copyright notice at top of file514--> packages/harvest-invoicer/src/harvest_invoicer/fetch.py:1:1515516CPY001 Missing copyright notice at top of file517--> packages/harvest-invoicer/src/harvest_invoicer/i18n.py:1:1518519CPY001 Missing copyright notice at top of file520--> packages/harvest-invoicer/src/harvest_invoicer/mail.py:1:1521522CPY001 Missing copyright notice at top of file523--> packages/harvest-invoicer/src/harvest_invoicer/model.py:1:1524525CPY001 Missing copyright notice at top of file526--> packages/harvest-invoicer/src/harvest_invoicer/render.py:1:1527528Found 16 errors (1 fixed, 15 remaining).529530traversed 199 files531emitted 114 files for processing532formatted 18 files (1 changed) in 5.503s533Error: failed to finalise formatting: formatting failures detected