fix(invariants): address remaining CI violations — remove unused imports and add __allow_unmapped__
CI / push-validation (pull_request) Successful in 31s
CI / helm (pull_request) Successful in 37s
CI / build (pull_request) Successful in 1m6s
CI / quality (pull_request) Successful in 1m31s
CI / lint (pull_request) Failing after 1m36s
CI / typecheck (pull_request) Successful in 1m58s
CI / security (pull_request) Successful in 2m0s
CI / integration_tests (pull_request) Successful in 4m44s
CI / unit_tests (pull_request) Failing after 5m14s
CI / coverage (pull_request) Has been skipped
CI / docker (pull_request) Has been skipped
CI / status-check (pull_request) Failing after 3s

This commit is contained in:
2026-05-17 08:27:25 +00:00
parent eba7f8794d
commit bff6dfb148
3 changed files with 1 additions and 2 deletions
-1
View File
@@ -7,7 +7,6 @@ querying by is_active, and schema validation.
from __future__ import annotations
import uuid
from datetime import UTC, datetime
from behave import given, then, when # type: ignore[import-untyped]
from behave.runner import Context # type: ignore[import-untyped]
-1
View File
@@ -4,7 +4,6 @@ from __future__ import annotations
import sys
import uuid
from datetime import UTC, datetime
from pathlib import Path
# Ensure src is importable when run from workspace root
@@ -1322,6 +1322,7 @@ class InvariantModel(Base): # type: ignore[misc]
Mapped to table ``invariants`` (migration ``m3_001_invariants_table``).
"""
__allow_unmapped__ = True
__tablename__ = "invariants"
# PK: ULID (26-char string) — consistent with all other models in the