54 lines
1.0 KiB
TOML
54 lines
1.0 KiB
TOML
[tool.commitizen]
|
|
name = "cz_conventional_commits"
|
|
tag_format = "0"
|
|
version_scheme = "semver"
|
|
version = "0.0.1"
|
|
update_changelog_on_bump = true
|
|
major_version_zero = true
|
|
|
|
[tool.ruff]
|
|
line-length = 80
|
|
exclude = [
|
|
".git",
|
|
"__pycache__",
|
|
"build",
|
|
"dist",
|
|
".venv",
|
|
"venv",
|
|
".mypy_cache",
|
|
".pytest_cache",
|
|
]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "N", "I", "Q", "T20"]
|
|
ignore = ["N802", "T201", "T001"]
|
|
|
|
[tool.ruff.lint.flake8-quotes]
|
|
inline-quotes = "double"
|
|
multiline-quotes = "double"
|
|
docstring-quotes = "double"
|
|
|
|
# Аналог import-order-style = "google"
|
|
[tool.ruff.lint.isort]
|
|
known-first-party = []
|
|
|
|
[tool.flake8]
|
|
max-line-length = 80
|
|
import-order-style = "google"
|
|
inline-quotes = "double"
|
|
multiline-quotes = "double"
|
|
docstring-quotes = "double"
|
|
|
|
# Записываем ignore как строку, если их несколько, или список
|
|
ignore = "N802,T201,T001"
|
|
|
|
exclude = [
|
|
".git",
|
|
"__pycache__",
|
|
"build",
|
|
"dist",
|
|
".venv",
|
|
"venv",
|
|
".mypy_cache",
|
|
".pytest_cache"
|
|
] |