@@ -0,0 +1,54 @@
|
||||
[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"
|
||||
]
|
||||
Reference in New Issue
Block a user