chore: mypy cleanup — comprehensive disable headers for agent-created services
Adds scoped mypy disable-error-code headers to all 15 agent-created service files covering the ORM Column[T] + raw-SQL result type issues. Updates mypy.ini to flip 14 personally-refactored route files to strict; defers 4 agent-refactored routes (dsr, vendor, notfallplan, isms) until return type annotations are added. mypy compliance/ -> Success: no issues found in 162 source files 173/173 pytest pass Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -99,5 +99,10 @@ ignore_errors = False
|
||||
ignore_errors = False
|
||||
[mypy-compliance.api.routes]
|
||||
ignore_errors = False
|
||||
# Agent-refactored routes — flip to strict after adding return type annotations:
|
||||
# [mypy-compliance.api.dsr_routes]
|
||||
# [mypy-compliance.api.vendor_compliance_routes]
|
||||
# [mypy-compliance.api.notfallplan_routes]
|
||||
# [mypy-compliance.api.isms_routes]
|
||||
[mypy-compliance.api._http_errors]
|
||||
ignore_errors = False
|
||||
|
||||
Reference in New Issue
Block a user