Co-authored-by: OpenAI/GPT-5.6-Terra <vibecoder@antoineve.me> Co-authored-by: OpenAI/GPT-5.6-Luna <vibecoder@antoineve.me>
19 lines
493 B
TOML
19 lines
493 B
TOML
[tool.ruff]
|
|
target-version = "py310"
|
|
line-length = 100
|
|
include = ["*.py"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E4", "E7", "E9", "F", "I"]
|
|
|
|
# Ces imports différés sont intentionnels : ils évitent des dépendances
|
|
# circulaires ou préparent sys.path pour les scripts lancés directement.
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"app/business/time_calc.py" = ["E402"]
|
|
"scripts/import_csv.py" = ["E402"]
|
|
"tests/test_time_calc.py" = ["E402"]
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "double"
|
|
indent-style = "space"
|