2025-02-26 23:13:03 -08:00
|
|
|
# default excludes minus "dist"
|
|
|
|
|
exclude = [
|
|
|
|
|
".bzr",
|
|
|
|
|
".direnv",
|
|
|
|
|
".eggs",
|
|
|
|
|
".git",
|
|
|
|
|
".git-rewrite",
|
|
|
|
|
".hg",
|
|
|
|
|
".mypy_cache",
|
|
|
|
|
".nox",
|
|
|
|
|
".pants.d",
|
|
|
|
|
".pytype",
|
|
|
|
|
".ruff_cache",
|
|
|
|
|
".svn",
|
|
|
|
|
".tox",
|
|
|
|
|
".venv",
|
|
|
|
|
"__pypackages__",
|
|
|
|
|
"_build",
|
|
|
|
|
"buck-out",
|
|
|
|
|
"node_modules",
|
|
|
|
|
"venv"]
|
|
|
|
|
|
2024-08-23 05:32:22 -07:00
|
|
|
line-length = 99
|
|
|
|
|
|
2024-09-21 11:54:24 -07:00
|
|
|
target-version = "py311"
|
|
|
|
|
|
2024-08-24 21:29:39 -07:00
|
|
|
[format]
|
|
|
|
|
line-ending = "lf"
|
|
|
|
|
|
|
|
|
|
[lint]
|
|
|
|
|
select = ["ALL"]
|
|
|
|
|
ignore = [
|
|
|
|
|
"ANN",
|
|
|
|
|
"C90",
|
|
|
|
|
"COM812",
|
2024-08-29 05:35:53 -07:00
|
|
|
"D10",
|
2024-08-24 21:29:39 -07:00
|
|
|
"EM",
|
|
|
|
|
"FA",
|
|
|
|
|
"FIX",
|
|
|
|
|
"FBT",
|
|
|
|
|
"ISC001",
|
2024-09-09 23:24:56 -07:00
|
|
|
"N817",
|
2024-08-24 21:29:39 -07:00
|
|
|
"PERF401",
|
|
|
|
|
"PLR0912",
|
|
|
|
|
"PLR0915",
|
|
|
|
|
"PLR2004",
|
|
|
|
|
"PLW2901",
|
|
|
|
|
"PT",
|
|
|
|
|
"PTH",
|
|
|
|
|
"S101",
|
|
|
|
|
"S310",
|
|
|
|
|
"S314",
|
|
|
|
|
"S320",
|
|
|
|
|
"S603",
|
|
|
|
|
"S607",
|
|
|
|
|
"T20",
|
2024-08-29 05:35:53 -07:00
|
|
|
"TD002",
|
|
|
|
|
"TD003",
|
2024-08-24 21:29:39 -07:00
|
|
|
"TRY003",
|
|
|
|
|
"UP038",
|
|
|
|
|
"W505"
|
|
|
|
|
]
|
|
|
|
|
|
2024-08-23 05:32:22 -07:00
|
|
|
[lint.isort]
|
|
|
|
|
lines-after-imports = 2
|
|
|
|
|
|
|
|
|
|
[lint.pycodestyle]
|
|
|
|
|
max-doc-length = 72
|
|
|
|
|
|
|
|
|
|
[lint.pydocstyle]
|
|
|
|
|
convention = "pep257"
|
2024-09-21 11:54:30 -07:00
|
|
|
|
|
|
|
|
[lint.pylint]
|
|
|
|
|
max-args = 8
|