feat: add CI gitea
CI Check / lint-and-check (push) Has been cancelled

This commit is contained in:
Dmitry Belan
2026-07-14 17:07:21 +03:00
parent 5591222f7f
commit b14f14147f
7 changed files with 220 additions and 90 deletions
+54
View File
@@ -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"
]