[flake8]
max-line-length = 88
extend-ignore = E203
exclude =
    .git,
    __pycache__,
    build,
    dist,
    tests/fixtures/,
    benchmarks/

# Interim ratchets set to the exact current repo max (tightest ceiling
# that still passes) — see working-docs/design/complexity-and-file-size-roadmap.md
# for the backlog. Re-measure across all of src/, not just the file you
# touched, before raising either value.
# target: 10 (currently 12, database._prepare_license_and_exception_records)
max-complexity = 12
# target: 15 (currently 29, tests/test_accuracy.py::run_accuracy_test)
max-cognitive-complexity = 29
