38 lines
749 B
TOML
38 lines
749 B
TOML
fix = true
|
|
exclude = ["migrations", ".git", ".venv", "__pycache__"]
|
|
line-length = 90
|
|
target-version = "py312"
|
|
|
|
[lint]
|
|
select = [
|
|
"E", # pycodestyle errors
|
|
"W", # pycodestyle warning
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
"UP", # pyupgrade
|
|
"N", # pep8-naming
|
|
"B", # flake8-bugbear
|
|
"C4", # flake-comprehensions
|
|
"A", # flake8 builtins
|
|
"COM", # flake8-commas
|
|
"DTZ", # flake8-datetimez
|
|
"DJ", # flake8-django
|
|
"ISC", # flake8-implicit-str-concat
|
|
"T20", # flake8-print
|
|
"SLF", # flake8-simplify
|
|
"RUF", # Ruff
|
|
]
|
|
|
|
ignore = [
|
|
"RUF001",
|
|
"RUF002",
|
|
"RUF003",
|
|
"RUF012",
|
|
"COM812"
|
|
]
|
|
|
|
[format]
|
|
quote-style = "double"
|
|
indent-style = "space"
|
|
line-ending = "auto"
|