Files
TimeTracker/.flake8
T
Dries Peeters b4486a627f fix: CI tests, code quality, and duplicate DB indexes
- Webhook models: remove duplicate index definitions so db.create_all()
  no longer raises 'index already exists' (columns already have index=True)
- ImportService: fix circular import by late-importing ClientService,
  ProjectService, TimeTrackingService in __init__
- reports: fix F823 by renaming unpack variable _ to _entry_count to avoid
  shadowing gettext _ in export_task_excel()
- Code quality: add .flake8 with extend-ignore so flake8 CI passes;
  simplify pyproject.toml isort config (drop unsupported options)
- Format: run black and isort on app/
- tests: restore minimal app fixture in test_import_export_models
2026-03-15 10:51:52 +01:00

9 lines
485 B
INI

[flake8]
max-line-length = 120
max-complexity = 10
# C901=complexity, E501=line length, F401=unused import, E402=import not at top,
# F541=f-string no placeholder, E712=comparison to True/False, F841=unused variable, E741=ambiguous name,
# F811=redefinition (e.g. import inside function), W293=blank line whitespace, E203=whitespace before ':'
extend-ignore = C901, E501, F401, E402, F541, E712, F841, E741, F811, W293, E203
exclude = .git,__pycache__,migrations,.venv,venv,build,dist