treefmt v2.5.0ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1 CPY001 Missing copyright notice at top of file --> packages/ecbx/tests/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> packages/ecbx/tests/conftest.py:1:1 CPY001 Missing copyright notice at top of file --> packages/ecbx/tests/test_cli.py:1:1 CPY001 Missing copyright notice at top of file --> packages/ecbx/tests/test_exchange_rate_store.py:1:1 CPY001 Missing copyright notice at top of file --> packages/ecbx/tests/test_utils.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest-invoicer/tests/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest-invoicer/tests/e2e_demo.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest-invoicer/tests/test_app.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest-invoicer/tests/test_cli.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest-invoicer/tests/test_config.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest-invoicer/tests/test_db.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest-invoicer/tests/test_fetch.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest-invoicer/tests/test_i18n.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest-invoicer/tests/test_mail.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest-invoicer/tests/test_model.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest-invoicer/tests/test_render.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest-invoicer/tests/test_rest_retry.py:1:1 Found 17 errors. ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1 CPY001 Missing copyright notice at top of file --> packages/working-days-calculator/src/working_days_calculator/__init__.py:1:1 Found 1 error. ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1 CPY001 Missing copyright notice at top of file --> packages/transferwise/src/transferwise/__init__.py:1:1 Found 1 error. ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-api/src/sevdesk_api/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-api/src/sevdesk_api/accounting_types.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-api/src/sevdesk_api/api.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-api/src/sevdesk_api/check_accounts.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-api/src/sevdesk_api/client.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-api/src/sevdesk_api/contacts.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-api/src/sevdesk_api/invoices.py:1:1 PLR0917 Too many positional arguments (6 > 5) --> packages/sevdesk-api/src/sevdesk_api/invoices.py:64:9 | 62 | raise ValueError(msg) 63 | 64 | def get_invoices( | ^^^^^^^^^^^^ 65 | self, 66 | limit: int = 100, | help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle PLR0917 Too many positional arguments (6 > 5) --> packages/sevdesk-api/src/sevdesk_api/invoices.py:165:9 | 163 | raise ValueError(msg) 164 | 165 | def send_invoice_by_email( | ^^^^^^^^^^^^^^^^^^^^^ 166 | self, 167 | invoice_id: int, | help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle CPY001 Missing copyright notice at top of file --> packages/sevdesk-api/src/sevdesk_api/models/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-api/src/sevdesk_api/models/base.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-api/src/sevdesk_api/models/check_account.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-api/src/sevdesk_api/models/contact.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-api/src/sevdesk_api/models/invoice.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-api/src/sevdesk_api/object_resolver.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-api/src/sevdesk_api/transactions.py:1:1 PLR0917 Too many positional arguments (7 > 5) --> packages/sevdesk-api/src/sevdesk_api/transactions.py:25:9 | 23 | self.client = client 24 | 25 | def get_transactions( | ^^^^^^^^^^^^^^^^ 26 | self, 27 | check_account_id: int | None = None, | help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle PLR0917 Too many positional arguments (9 > 5) --> packages/sevdesk-api/src/sevdesk_api/transactions.py:81:9 | 79 | return self.client.get(f"CheckAccountTransaction/{transaction_id}") 80 | 81 | def create_transaction( | ^^^^^^^^^^^^^^^^^^ 82 | self, 83 | check_account_id: int, | help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle PLR0917 Too many positional arguments (8 > 5) --> packages/sevdesk-api/src/sevdesk_api/transactions.py:132:9 | 130 | return self.client.post("CheckAccountTransaction", json_data=data) 131 | 132 | def update_transaction( | ^^^^^^^^^^^^^^^^^^ 133 | self, 134 | transaction_id: int, | help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle CPY001 Missing copyright notice at top of file --> packages/sevdesk-api/src/sevdesk_api/vouchers.py:1:1 PLR0917 Too many positional arguments (8 > 5) --> packages/sevdesk-api/src/sevdesk_api/vouchers.py:185:9 | 183 | self.accounting_types = accounting_types 184 | 185 | def get_vouchers( | ^^^^^^^^^^^^ 186 | self, 187 | status: VoucherStatus | None = None, | help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle PLR0917 Too many positional arguments (14 > 5) --> packages/sevdesk-api/src/sevdesk_api/vouchers.py:355:9 | 353 | conn.close() 354 | 355 | def _build_voucher_data( | ^^^^^^^^^^^^^^^^^^^ 356 | self, 357 | credit_debit: CreditDebit, | help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle Found 22 errors. ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1 CPY001 Missing copyright notice at top of file --> packages/kimai/src/kimai/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> packages/kimai/src/kimai/api.py:1:1 PLR0917 Too many positional arguments (6 > 5) --> packages/kimai/src/kimai/api.py:84:9 | 82 | return ActivityInfo.from_json(activity_data[0]) 83 | 84 | def get_time_entries( | ^^^^^^^^^^^^^^^^ 85 | self, 86 | from_date: datetime, | help: Consider adding `@typing.override` if changing the function signature would violate the Liskov Substitution Principle CPY001 Missing copyright notice at top of file --> packages/kimai/src/kimai/data.py:1:1 CPY001 Missing copyright notice at top of file --> packages/kimai/src/kimai/jsonserializer.py:1:1 CPY001 Missing copyright notice at top of file --> packages/kimai/src/kimai_exporter/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> packages/kimai/src/kimai_exporter/cli.py:1:1 Found 7 errors. ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1 CPY001 Missing copyright notice at top of file --> packages/paperless-cli/src/paperless_cli/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> packages/paperless-cli/src/paperless_cli/api.py:1:1 CPY001 Missing copyright notice at top of file --> packages/paperless-cli/src/paperless_cli/cli/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> packages/paperless-cli/src/paperless_cli/cli/documents.py:1:1 CPY001 Missing copyright notice at top of file --> packages/paperless-cli/src/paperless_cli/cli/formatter.py:1:1 CPY001 Missing copyright notice at top of file --> packages/paperless-cli/src/paperless_cli/cli/mail_accounts.py:1:1 CPY001 Missing copyright notice at top of file --> packages/paperless-cli/src/paperless_cli/cli/mail_rules.py:1:1 CPY001 Missing copyright notice at top of file --> packages/paperless-cli/src/paperless_cli/cli/main.py:1:1 CPY001 Missing copyright notice at top of file --> packages/paperless-cli/src/paperless_cli/cli/tags.py:1:1 CPY001 Missing copyright notice at top of file --> packages/paperless-cli/src/paperless_cli/errors.py:1:1 CPY001 Missing copyright notice at top of file --> packages/paperless-cli/src/paperless_cli/models/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> packages/paperless-cli/src/paperless_cli/models/base.py:1:1 CPY001 Missing copyright notice at top of file --> packages/paperless-cli/src/paperless_cli/models/correspondent.py:1:1 CPY001 Missing copyright notice at top of file --> packages/paperless-cli/src/paperless_cli/models/document.py:1:1 CPY001 Missing copyright notice at top of file --> packages/paperless-cli/src/paperless_cli/models/mail.py:1:1 CPY001 Missing copyright notice at top of file --> packages/paperless-cli/src/paperless_cli/models/tag.py:1:1 CPY001 Missing copyright notice at top of file --> packages/paperless-cli/src/paperless_cli/models/task.py:1:1 Found 17 errors. ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-cli/src/sevdesk_cli/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-cli/src/sevdesk_cli/__main__.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-cli/src/sevdesk_cli/cli/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-cli/src/sevdesk_cli/cli/accounting_types.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-cli/src/sevdesk_cli/cli/check_accounts.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-cli/src/sevdesk_cli/cli/tax_rules.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-cli/src/sevdesk_cli/cli/transactions.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-cli/src/sevdesk_cli/cli/vouchers.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-cli/src/sevdesk_cli/errors.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-cli/src/sevdesk_cli/main.py:1:1 Found 10 errors. ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1 CPY001 Missing copyright notice at top of file --> packages/wise-exporter/src/wise_exporter/__init__.py:1:1 Found 1 error. ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1 CPY001 Missing copyright notice at top of file --> packages/ecbx/src/ecbx/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> packages/ecbx/src/ecbx/__main__.py:1:1 CPY001 Missing copyright notice at top of file --> packages/ecbx/src/ecbx/cli.py:1:1 PLR0917 Too many positional arguments (6 > 5) --> packages/ecbx/src/ecbx/cli.py:134:5 | 132 | ) 133 | @click.pass_context 134 | def convert( | ^^^^^^^ 135 | ctx: click.Context, 136 | date: str | None, | CPY001 Missing copyright notice at top of file --> packages/ecbx/src/ecbx/constants.py:1:1 CPY001 Missing copyright notice at top of file --> packages/ecbx/src/ecbx/store.py:1:1 CPY001 Missing copyright notice at top of file --> packages/ecbx/src/ecbx/utils.py:1:1 Found 7 errors. ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1 CPY001 Missing copyright notice at top of file --> packages/harvest/src/harvest/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest/src/harvest_exporter/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest/src/harvest_exporter/cli.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest/src/harvest_exporter/export.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest/src/harvest_rounder/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest/src/harvest_rounder/cli.py:1:1 Found 6 errors. ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1 CPY001 Missing copyright notice at top of file --> packages/rest/src/rest/__init__.py:1:1 Found 1 error. ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-invoicer/src/sevdesk_invoicer/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-invoicer/src/sevdesk_tax_estimator/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> packages/sevdesk-invoicer/src/sevdesk_wise_importer/__init__.py:1:1 PLR0917 Too many positional arguments (7 > 5) --> packages/sevdesk-invoicer/src/sevdesk_wise_importer/__init__.py:144:5 | 144 | def import_record( | ^^^^^^^^^^^^^ 145 | api: SevDeskAPI, 146 | accounts: Accounts, | Found 4 errors. ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1 CPY001 Missing copyright notice at top of file --> packages/quipu-invoicer/src/quipu_api/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> packages/quipu-invoicer/src/quipu_api/cli.py:1:1 CPY001 Missing copyright notice at top of file --> packages/quipu-invoicer/src/quipu_invoicer/__init__.py:1:1 PLR0917 Too many positional arguments (10 > 5) --> packages/quipu-invoicer/src/quipu_invoicer/__init__.py:47:5 | 45 | ) 46 | @click.argument("json_file", type=click.Path(exists=True)) 47 | def main( | ^^^^ 48 | quipu_app_id: str, 49 | quipu_app_secret: str, | PLR0917 Too many positional arguments (10 > 5) --> packages/quipu-invoicer/src/quipu_invoicer/__init__.py:75:5 | 75 | def create_invoice( | ^^^^^^^^^^^^^^ 76 | app_id: str, 77 | app_secret: str, | Found 5 errors. ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1 CPY001 Missing copyright notice at top of file --> packages/harvest-invoicer/src/harvest_invoicer/__init__.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest-invoicer/src/harvest_invoicer/app.py:1:1 PLR0917 Too many positional arguments (7 > 5) --> packages/harvest-invoicer/src/harvest_invoicer/app.py:78:5 | 78 | def _make_invoice( | ^^^^^^^^^^^^^ 79 | lines: list[InvoiceLine], 80 | number: str, | PLR0917 Too many positional arguments (16 > 5) --> packages/harvest-invoicer/src/harvest_invoicer/app.py:103:5 | 103 | def create_app( | ^^^^^^^^^^ 104 | lines: list[InvoiceLine], 105 | issuer: dict[str, object], | CPY001 Missing copyright notice at top of file --> packages/harvest-invoicer/src/harvest_invoicer/cli.py:1:1 PLR0917 Too many positional arguments (7 > 5) --> packages/harvest-invoicer/src/harvest_invoicer/cli.py:182:5 | 182 | def _build_invoice( | ^^^^^^^^^^^^^^ 183 | lines: list[InvoiceLine], 184 | number: str, | PLR0917 Too many positional arguments (11 > 5) --> packages/harvest-invoicer/src/harvest_invoicer/cli.py:312:5 | 310 | help="Use synthetic data (no Harvest credentials required).", 311 | ) 312 | def serve( | ^^^^^ 313 | client_filter: str | None, 314 | db_path: Path | None, | PLR0917 Too many positional arguments (14 > 5) --> packages/harvest-invoicer/src/harvest_invoicer/cli.py:525:5 | 523 | @_MERGE_DUPLICATES_OPTION 524 | @_BILL_TO_OPTION 525 | def generate( | ^^^^^^^^ 526 | months: tuple[str, ...], 527 | client_filter: str | None, | CPY001 Missing copyright notice at top of file --> packages/harvest-invoicer/src/harvest_invoicer/config.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest-invoicer/src/harvest_invoicer/db.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest-invoicer/src/harvest_invoicer/fetch.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest-invoicer/src/harvest_invoicer/i18n.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest-invoicer/src/harvest_invoicer/mail.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest-invoicer/src/harvest_invoicer/model.py:1:1 CPY001 Missing copyright notice at top of file --> packages/harvest-invoicer/src/harvest_invoicer/render.py:1:1 Found 16 errors (1 fixed, 15 remaining). traversed 200 files emitted 115 files for processing formatted 18 files (1 changed) in 13.477s Error: failed to finalise formatting: formatting failures detected