Files
TimeTracker/pyproject.toml
Dries Peeters f54ab9934f feat(api): add broad API v1 parity, scope UI, and consistency improvements
Backend: add Black/isort/Flake8 configs and .editorconfig; switch health/readiness to locale-based time. Fix service worker asset list; add smoke test.

Admin scopes UI: add read:* and write:* wildcards; add granular scopes for invoices, expenses, payments, mileage, per diem, budget alerts, calendar, comments, recurring invoices.

API v1: add endpoints for invoices, expenses, payments, mileage, per diem (+rates), budget alerts, calendar, kanban, saved filters, time entry templates, comments, recurring invoices, credit notes, client notes (paginated), project costs (paginated), currencies, exchange rates, favorites, audit logs, activities, and invoice PDF/templates (admin). Extend /api/v1/info with all resources. No schema changes.

Tests: add coverage for new endpoints (CRUD/list/pagination) and service worker route smoke test.
2025-11-14 13:09:57 +01:00

17 lines
313 B
TOML

[tool.black]
line-length = 120
target-version = ["py311"]
skip-string-normalization = false
include = '\.pyi?$'
[tool.isort]
profile = "black"
line_length = 120
known_first_party = ["app", "tests"]
combine_as_imports = true
force_sort_within_sections = true
include_trailing_comma = true
multi_line_output = 3