treefmt-check
x86_64-linux.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/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_model.py:1:14445CPY001 Missing copyright notice at top of file46--> packages/harvest-invoicer/tests/test_render.py:1:14748CPY001 Missing copyright notice at top of file49--> packages/harvest-invoicer/tests/test_rest_retry.py:1:15051Found 16 errors.5253ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 15455CPY001 Missing copyright notice at top of file56--> packages/working-days-calculator/src/working_days_calculator/__init__.py:1:15758Found 1 error.5960ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 16162CPY001 Missing copyright notice at top of file63--> packages/transferwise/src/transferwise/__init__.py:1:16465Found 1 error.6667ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 16869CPY001 Missing copyright notice at top of file70--> packages/rest/src/rest/__init__.py:1:17172Found 1 error.7374ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 17576CPY001 Missing copyright notice at top of file77--> packages/sevdesk-api/src/sevdesk_api/__init__.py:1:17879CPY001 Missing copyright notice at top of file80--> packages/sevdesk-api/src/sevdesk_api/accounting_types.py:1:18182CPY001 Missing copyright notice at top of file83--> packages/sevdesk-api/src/sevdesk_api/api.py:1:18485CPY001 Missing copyright notice at top of file86--> packages/sevdesk-api/src/sevdesk_api/check_accounts.py:1:18788CPY001 Missing copyright notice at top of file89--> packages/sevdesk-api/src/sevdesk_api/client.py:1:19091CPY001 Missing copyright notice at top of file92--> packages/sevdesk-api/src/sevdesk_api/contacts.py:1:19394CPY001 Missing copyright notice at top of file95--> packages/sevdesk-api/src/sevdesk_api/invoices.py:1:19697PLR0917 Too many positional arguments (6 > 5)98 --> packages/sevdesk-api/src/sevdesk_api/invoices.py:64:999 |10062 | raise ValueError(msg)10163 |10264 | def get_invoices(103 | ^^^^^^^^^^^^10465 | self,10566 | limit: int = 100,106 |107help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle108109PLR0917 Too many positional arguments (6 > 5)110 --> packages/sevdesk-api/src/sevdesk_api/invoices.py:165:9111 |112163 | raise ValueError(msg)113164 |114165 | def send_invoice_by_email(115 | ^^^^^^^^^^^^^^^^^^^^^116166 | self,117167 | invoice_id: int,118 |119help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle120121CPY001 Missing copyright notice at top of file122--> packages/sevdesk-api/src/sevdesk_api/models/__init__.py:1:1123124CPY001 Missing copyright notice at top of file125--> packages/sevdesk-api/src/sevdesk_api/models/base.py:1:1126127CPY001 Missing copyright notice at top of file128--> packages/sevdesk-api/src/sevdesk_api/models/check_account.py:1:1129130CPY001 Missing copyright notice at top of file131--> packages/sevdesk-api/src/sevdesk_api/models/contact.py:1:1132133CPY001 Missing copyright notice at top of file134--> packages/sevdesk-api/src/sevdesk_api/models/invoice.py:1:1135136CPY001 Missing copyright notice at top of file137--> packages/sevdesk-api/src/sevdesk_api/object_resolver.py:1:1138139CPY001 Missing copyright notice at top of file140--> packages/sevdesk-api/src/sevdesk_api/transactions.py:1:1141142PLR0917 Too many positional arguments (7 > 5)143 --> packages/sevdesk-api/src/sevdesk_api/transactions.py:25:9144 |14523 | self.client = client14624 |14725 | def get_transactions(148 | ^^^^^^^^^^^^^^^^14926 | self,15027 | check_account_id: int | None = None,151 |152help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle153154PLR0917 Too many positional arguments (9 > 5)155 --> packages/sevdesk-api/src/sevdesk_api/transactions.py:81:9156 |15779 | return self.client.get(f"CheckAccountTransaction/{transaction_id}")15880 |15981 | def create_transaction(160 | ^^^^^^^^^^^^^^^^^^16182 | self,16283 | check_account_id: int,163 |164help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle165166PLR0917 Too many positional arguments (8 > 5)167 --> packages/sevdesk-api/src/sevdesk_api/transactions.py:132:9168 |169130 | return self.client.post("CheckAccountTransaction", json_data=data)170131 |171132 | def update_transaction(172 | ^^^^^^^^^^^^^^^^^^173133 | self,174134 | transaction_id: int,175 |176help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle177178CPY001 Missing copyright notice at top of file179--> packages/sevdesk-api/src/sevdesk_api/vouchers.py:1:1180181PLR0917 Too many positional arguments (8 > 5)182 --> packages/sevdesk-api/src/sevdesk_api/vouchers.py:185:9183 |184183 | self.accounting_types = accounting_types185184 |186185 | def get_vouchers(187 | ^^^^^^^^^^^^188186 | self,189187 | status: VoucherStatus | None = None,190 |191help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle192193PLR0917 Too many positional arguments (14 > 5)194 --> packages/sevdesk-api/src/sevdesk_api/vouchers.py:355:9195 |196353 | conn.close()197354 |198355 | def _build_voucher_data(199 | ^^^^^^^^^^^^^^^^^^^200356 | self,201357 | credit_debit: CreditDebit,202 |203help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle204205Found 22 errors.206207ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1208209CPY001 Missing copyright notice at top of file210--> packages/sevdesk-invoicer/src/sevdesk_invoicer/__init__.py:1:1211212CPY001 Missing copyright notice at top of file213--> packages/sevdesk-invoicer/src/sevdesk_tax_estimator/__init__.py:1:1214215CPY001 Missing copyright notice at top of file216--> packages/sevdesk-invoicer/src/sevdesk_wise_importer/__init__.py:1:1217218PLR0917 Too many positional arguments (7 > 5)219 --> packages/sevdesk-invoicer/src/sevdesk_wise_importer/__init__.py:144:5220 |221144 | def import_record(222 | ^^^^^^^^^^^^^223145 | api: SevDeskAPI,224146 | accounts: Accounts,225 |226227Found 4 errors.228229ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1230231CPY001 Missing copyright notice at top of file232--> packages/kimai/src/kimai/__init__.py:1:1233234CPY001 Missing copyright notice at top of file235--> packages/kimai/src/kimai/api.py:1:1236237PLR0917 Too many positional arguments (6 > 5)238 --> packages/kimai/src/kimai/api.py:84:9239 |24082 | return ActivityInfo.from_json(activity_data[0])24183 |24284 | def get_time_entries(243 | ^^^^^^^^^^^^^^^^24485 | self,24586 | from_date: datetime,246 |247help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle248249CPY001 Missing copyright notice at top of file250--> packages/kimai/src/kimai/data.py:1:1251252CPY001 Missing copyright notice at top of file253--> packages/kimai/src/kimai/jsonserializer.py:1:1254255CPY001 Missing copyright notice at top of file256--> packages/kimai/src/kimai_exporter/__init__.py:1:1257258CPY001 Missing copyright notice at top of file259--> packages/kimai/src/kimai_exporter/cli.py:1:1260261Found 7 errors.262263ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1264265CPY001 Missing copyright notice at top of file266--> packages/paperless-cli/src/paperless_cli/__init__.py:1:1267268CPY001 Missing copyright notice at top of file269--> packages/paperless-cli/src/paperless_cli/api.py:1:1270271CPY001 Missing copyright notice at top of file272--> packages/paperless-cli/src/paperless_cli/cli/__init__.py:1:1273274CPY001 Missing copyright notice at top of file275--> packages/paperless-cli/src/paperless_cli/cli/documents.py:1:1276277CPY001 Missing copyright notice at top of file278--> packages/paperless-cli/src/paperless_cli/cli/formatter.py:1:1279280CPY001 Missing copyright notice at top of file281--> packages/paperless-cli/src/paperless_cli/cli/mail_accounts.py:1:1282283CPY001 Missing copyright notice at top of file284--> packages/paperless-cli/src/paperless_cli/cli/mail_rules.py:1:1285286CPY001 Missing copyright notice at top of file287--> packages/paperless-cli/src/paperless_cli/cli/main.py:1:1288289CPY001 Missing copyright notice at top of file290--> packages/paperless-cli/src/paperless_cli/cli/tags.py:1:1291292CPY001 Missing copyright notice at top of file293--> packages/paperless-cli/src/paperless_cli/errors.py:1:1294295CPY001 Missing copyright notice at top of file296--> packages/paperless-cli/src/paperless_cli/models/__init__.py:1:1297298CPY001 Missing copyright notice at top of file299--> packages/paperless-cli/src/paperless_cli/models/base.py:1:1300301CPY001 Missing copyright notice at top of file302--> packages/paperless-cli/src/paperless_cli/models/correspondent.py:1:1303304CPY001 Missing copyright notice at top of file305--> packages/paperless-cli/src/paperless_cli/models/document.py:1:1306307CPY001 Missing copyright notice at top of file308--> packages/paperless-cli/src/paperless_cli/models/mail.py:1:1309310CPY001 Missing copyright notice at top of file311--> packages/paperless-cli/src/paperless_cli/models/tag.py:1:1312313CPY001 Missing copyright notice at top of file314--> packages/paperless-cli/src/paperless_cli/models/task.py:1:1315316Found 17 errors.317318ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1319320CPY001 Missing copyright notice at top of file321--> packages/sevdesk-cli/src/sevdesk_cli/__init__.py:1:1322323CPY001 Missing copyright notice at top of file324--> packages/sevdesk-cli/src/sevdesk_cli/__main__.py:1:1325326CPY001 Missing copyright notice at top of file327--> packages/sevdesk-cli/src/sevdesk_cli/cli/__init__.py:1:1328329CPY001 Missing copyright notice at top of file330--> packages/sevdesk-cli/src/sevdesk_cli/cli/accounting_types.py:1:1331332CPY001 Missing copyright notice at top of file333--> packages/sevdesk-cli/src/sevdesk_cli/cli/check_accounts.py:1:1334335CPY001 Missing copyright notice at top of file336--> packages/sevdesk-cli/src/sevdesk_cli/cli/tax_rules.py:1:1337338CPY001 Missing copyright notice at top of file339--> packages/sevdesk-cli/src/sevdesk_cli/cli/transactions.py:1:1340341CPY001 Missing copyright notice at top of file342--> packages/sevdesk-cli/src/sevdesk_cli/cli/vouchers.py:1:1343344CPY001 Missing copyright notice at top of file345--> packages/sevdesk-cli/src/sevdesk_cli/errors.py:1:1346347CPY001 Missing copyright notice at top of file348--> packages/sevdesk-cli/src/sevdesk_cli/main.py:1:1349350Found 10 errors.351352ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1353354CPY001 Missing copyright notice at top of file355--> packages/wise-exporter/src/wise_exporter/__init__.py:1:1356357Found 1 error.358359ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1360361CPY001 Missing copyright notice at top of file362--> packages/quipu-invoicer/src/quipu_api/__init__.py:1:1363364CPY001 Missing copyright notice at top of file365--> packages/quipu-invoicer/src/quipu_api/cli.py:1:1366367CPY001 Missing copyright notice at top of file368--> packages/quipu-invoicer/src/quipu_invoicer/__init__.py:1:1369370PLR0917 Too many positional arguments (10 > 5)371 --> packages/quipu-invoicer/src/quipu_invoicer/__init__.py:47:5372 |37345 | )37446 | @click.argument("json_file", type=click.Path(exists=True))37547 | def main(376 | ^^^^37748 | quipu_app_id: str,37849 | quipu_app_secret: str,379 |380381PLR0917 Too many positional arguments (10 > 5)382 --> packages/quipu-invoicer/src/quipu_invoicer/__init__.py:75:5383 |38475 | def create_invoice(385 | ^^^^^^^^^^^^^^38676 | app_id: str,38777 | app_secret: str,388 |389390Found 5 errors.391392ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1393394CPY001 Missing copyright notice at top of file395--> packages/harvest/src/harvest/__init__.py:1:1396397CPY001 Missing copyright notice at top of file398--> packages/harvest/src/harvest_exporter/__init__.py:1:1399400CPY001 Missing copyright notice at top of file401--> packages/harvest/src/harvest_exporter/cli.py:1:1402403CPY001 Missing copyright notice at top of file404--> packages/harvest/src/harvest_exporter/export.py:1:1405406CPY001 Missing copyright notice at top of file407--> packages/harvest/src/harvest_rounder/__init__.py:1:1408409CPY001 Missing copyright notice at top of file410--> packages/harvest/src/harvest_rounder/cli.py:1:1411412Found 6 errors.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 4.818s533Error: failed to finalise formatting: formatting failures detected