37 lines
582 B
TOML
37 lines
582 B
TOML
target-version = "py313"
|
|
line-length = 300
|
|
|
|
[lint]
|
|
select = ["F", "E", "W", "I"]
|
|
ignore = [
|
|
"E501",
|
|
"D",
|
|
"ANN",
|
|
"E402",
|
|
"E501",
|
|
"F401",
|
|
"F841",
|
|
"RUF012",
|
|
"F401",
|
|
"F841",
|
|
"F811",
|
|
"E402",
|
|
"I001",
|
|
"UP017",
|
|
]
|
|
|
|
[lint.mccabe]
|
|
max-complexity = 10
|
|
|
|
[lint.isort]
|
|
known-first-party = ["src"]
|
|
force-sort-within-sections = true
|
|
combine-as-imports = true
|
|
extra-standard-library = ["pytest"]
|
|
|
|
[lint.per-file-ignores]
|
|
"tests/**/*.py" = ["F", "E", "W", "I"]
|
|
"tests/*.py" = ["F", "E", "W", "I"]
|
|
"src/**/__tests__/*.py" = ["F", "E", "W", "I"]
|
|
"src/scripts/*" = ["TID252"]
|