mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-13 15:13:10 +00:00
30 lines
432 B
TOML
30 lines
432 B
TOML
|
|
# ==== pytest ====
|
||
|
|
[tool.pytest.ini_options]
|
||
|
|
addopts = "-v --tb=short"
|
||
|
|
norecursedirs = [
|
||
|
|
".tox",
|
||
|
|
".git",
|
||
|
|
"*/migrations/*",
|
||
|
|
"*/static/*",
|
||
|
|
"docs",
|
||
|
|
"venv",
|
||
|
|
"*/{{cookiecutter.project_slug}}/*",
|
||
|
|
]
|
||
|
|
|
||
|
|
|
||
|
|
# ==== black ====
|
||
|
|
[tool.black]
|
||
|
|
line-length = 119
|
||
|
|
target-version = ['py311']
|
||
|
|
|
||
|
|
|
||
|
|
# ==== isort ====
|
||
|
|
[tool.isort]
|
||
|
|
profile = "black"
|
||
|
|
line_length = 119
|
||
|
|
known_first_party = [
|
||
|
|
"tests",
|
||
|
|
"scripts",
|
||
|
|
"hooks",
|
||
|
|
]
|