ci: enforce mypy type checking (all errors fixed)
Some checks failed
CI / Lint & Format (push) Failing after 16s
CI / Unit Tests (push) Has been skipped
CI / Memory Leak Check (push) Has been skipped
CI / SBOM Generation (push) Has been skipped
CI / Security Scan (push) Failing after 21s
CI / Security Tests (push) Has been skipped

This commit is contained in:
Username
2025-12-25 00:20:21 +01:00
parent a040fad0b8
commit 79b12cc3b3
3 changed files with 4 additions and 15 deletions

View File

@@ -41,14 +41,8 @@ jobs:
- name: Ruff format
run: ruff format --check app/ tests/ fpaste
- name: Type check (informational)
run: |
errors=$(mypy app/ --ignore-missing-imports 2>&1 | grep -c "error:" || true)
echo "mypy found $errors type errors"
if [ "$errors" -gt 20 ]; then
echo "::warning::mypy errors increased to $errors (baseline: 20)"
fi
continue-on-error: true
- name: Type check
run: mypy app/ tests/ fpaste --ignore-missing-imports
security:
name: Security Scan