[QG] Add quality gates on main branch
All checks were successful
ci/woodpecker/push/lints Pipeline was successful
ci/woodpecker/push/tests Pipeline was successful
ci/woodpecker/push/types Pipeline was successful

[+] add lint pipeline for ruff isort and black checks
[+] add types pipeline for mypy check
[+] add tests pipeline for pytest check with coverage less 70% blocker QG
[+] add some tests fo QG pass
This commit is contained in:
2026-04-19 16:45:34 +03:00
parent 048071263a
commit 9c3b44b561
13 changed files with 103 additions and 57 deletions

View File

@@ -11,10 +11,31 @@ dependencies = [
[dependency-groups]
dev = [
"isort>=8.0.1",
"mypy>=1.20.1",
{include-group = "lints"},
{include-group = "tests"},
{include-group = "types"},
"pre-commit>=4.5.1",
]
tests = [
"httpx>=0.28.1",
"pytest>=9.0.3",
"pytest-asyncio>=1.3.0",
"ruff>=0.15.11",
"pytest-cov>=7.1.0",
]
lints = [
"black>=23.7.0",
"ruff>=0.15.11",
"isort>=8.0.1",
]
types = [
"mypy>=1.20.1",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
addopts = "--cov=src --cov-report=term"
pythonpath = "."
testpaths = "tests"
xfail_strict = true