/
kreyndelHam
/
Konstructorium
Обзор
Документация
Войти
/
kreyndelHam
/
Konstructorium
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
1
CI/CD
Аналитика
Безопасность
dev
scripts/qa.ps1
26 строк
647 B
kreindel.s
chore(qa): add local powershell quality script
01 май 2026, 22:34
01 май 2026, 22:34
9efc835
Код
Авторство
О чём код?
param( [ValidateSet("lint", "test", "coverage", "check")] [string]$Task = "check" ) $ErrorActionPreference = "Stop" switch ($Task) { "lint" { Write-Host "Running Ruff lint checks..." python -m ruff check . } "test" { Write-Host "Running pytest..." pytest -v tests } "coverage" { Write-Host "Running pytest with coverage..." pytest -v tests --cov=tests --cov-report=term-missing --cov-report=xml --cov-fail-under=80 } "check" { Write-Host "Running full local quality check: lint + tests..." python -m ruff check . pytest -v tests } }