Files
qlockify-backend-deployment/pyproject.toml

47 lines
901 B
TOML

[tool.ruff]
target-version = "py314"
line-length = 120
extend-exclude = [
".venv",
"static",
"logs",
"migrations",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"DJ", # ruff-django
"SIM", # simplify code
"T20", # catch stray print()
]
fixable = ["ALL"]
[tool.ruff.lint.isort]
known-first-party = [
"config",
]
[tool.ruff.lint.per-file-ignores]
"**/migrations/*.py" = ["E501", "F401"]
"**/settings/*.py" = ["E501"]
"manage.py" = ["E402"]
"config/asgi.py" = ["E402"]
"config/settings/*.py" = ["E402", "F403"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "lf"
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.1.0"
tag_format = "v$version"
update_changelog_on_bump = true