|
|
|
exclude = [ |
|
".bzr", |
|
".direnv", |
|
".eggs", |
|
".git", |
|
".hg", |
|
".mypy_cache", |
|
".nox", |
|
".pants.d", |
|
".ruff_cache", |
|
".svn", |
|
".tox", |
|
".venv", |
|
"__pypackages__", |
|
"_build", |
|
"buck-out", |
|
"build", |
|
"dist", |
|
"node_modules", |
|
"venv", |
|
] |
|
extend-exclude = [] |
|
line-length = 88 |
|
indent-width = 4 |
|
target-version = "py310" |
|
show-fixes = true |
|
src = [".", "modules"] |
|
|
|
[lint] |
|
select = [ |
|
"E", "F", "B", "Q", "I", "C90", "N", "D", "UP", "YTT", "ANN", "S", "BLE", |
|
"FBT", "A", "COM", "C4", "DTZ", "T10", "EM", "EXE", "ISC", "ICN", "INP", |
|
"PIE", "T20", "PT", "Q", "RET", "SIM", "ARG", "ERA", "PD", "PGH", "PL", |
|
"TRY", "RUF", |
|
] |
|
ignore = [ |
|
"D105", |
|
"D107", |
|
"D203", |
|
"D213", |
|
"S101", |
|
"INP001", |
|
"ANN101", |
|
"ANN102", |
|
"ANN204", |
|
"ERA001", |
|
"ANN002", |
|
"ANN003", |
|
"RET504", |
|
"COM812", |
|
"ISC001", |
|
] |
|
fixable = ["ALL"] |
|
unfixable = [] |
|
|
|
[format] |
|
quote-style = "double" |
|
indent-style = "space" |
|
|
|
[lint.isort] |
|
|
|
force-sort-within-sections = false |
|
lines-between-types = 1 |
|
force-single-line = true |
|
no-sections = false |
|
from-first = false |
|
|
|
[lint.pydocstyle] |
|
convention = "google" |
|
|