2020-11-14 15:04:41 +00:00
|
|
|
[tool.black]
|
2022-05-08 13:33:12 +00:00
|
|
|
line-length = 120
|
|
|
|
|
|
|
|
[build-system]
|
|
|
|
requires = ["setuptools>=42"]
|
|
|
|
build-backend = "setuptools.build_meta"
|
2024-06-08 21:49:40 +00:00
|
|
|
|
|
|
|
[tool.ruff]
|
|
|
|
line-length = 120
|
|
|
|
exclude = [
|
|
|
|
".git",
|
|
|
|
".git-rewrite",
|
|
|
|
".mypy_cache",
|
|
|
|
".pytype",
|
|
|
|
".ruff_cache",
|
|
|
|
".venv",
|
|
|
|
"build",
|
|
|
|
"dist",
|
|
|
|
"node_modules",
|
|
|
|
"migrations", # Alembic migrations
|
|
|
|
]
|
|
|
|
|
|
|
|
[tool.ruff.lint]
|
|
|
|
select = ["E", "F", "I", "N", "T20", "W"]
|
2024-06-08 21:56:36 +00:00
|
|
|
ignore = ["E203", "E501", "E711", "E712", "N803", "N815", "N818", "T201"]
|
2024-06-08 21:49:40 +00:00
|
|
|
|
|
|
|
[tool.ruff.lint.isort]
|
|
|
|
combine-as-imports = true
|