mypy: services.* now fully type-checked — remove from ignore_errors override
Some checks failed
CLI Tests / test-cli (push) Has been cancelled
Coverage Phase 1 (70% Target) / test-coverage-70 (push) Has been cancelled
Coverage Phase 2 (85% Target) / test-coverage-85 (push) Has been cancelled
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Package Tests / Python package - aitbc-agent-sdk (push) Has been cancelled
Package Tests / Python package - aitbc-core (push) Has been cancelled
Package Tests / Python package - aitbc-crypto (push) Has been cancelled
Package Tests / Python package - aitbc-sdk (push) Has been cancelled
Package Tests / JavaScript package - aitbc-sdk-js (push) Has been cancelled
Package Tests / JavaScript package - aitbc-token (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Production Tests / Production Integration Tests (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Some checks failed
CLI Tests / test-cli (push) Has been cancelled
Coverage Phase 1 (70% Target) / test-coverage-70 (push) Has been cancelled
Coverage Phase 2 (85% Target) / test-coverage-85 (push) Has been cancelled
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Package Tests / Python package - aitbc-agent-sdk (push) Has been cancelled
Package Tests / Python package - aitbc-core (push) Has been cancelled
Package Tests / Python package - aitbc-crypto (push) Has been cancelled
Package Tests / Python package - aitbc-sdk (push) Has been cancelled
Package Tests / JavaScript package - aitbc-sdk-js (push) Has been cancelled
Package Tests / JavaScript package - aitbc-token (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Production Tests / Production Integration Tests (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- All 72 service files pass mypy with 0 errors - Bulk suppressed SQLAlchemy false positives (.where/and_/count/desc) - Fixed missing return type annotations on multi-line function defs - Fixed dict var annotations (compliance, ipfs, security modules) - Fixed adaptive_learning_app route return types - Removed apps.coordinator-api.src.app.services.* from pyproject.toml ignore_errors - Remaining ignore_errors entries: routers.* and contexts.* (still in tech debt)
This commit is contained in:
@@ -127,7 +127,7 @@ ensure_newline_before_comments = true
|
||||
|
||||
[tool.mypy]
|
||||
python_version = "3.13"
|
||||
plugins = ["pydantic.mypy"]
|
||||
plugins = ["pydantic.mypy", "sqlalchemy.ext.mypy.plugin"]
|
||||
exclude = "^apps/(agent-management|agent-coordinator|agent-services|blockchain-node|computing-node|identity-node|marketplace|mining-pool)/.*"
|
||||
warn_return_any = true
|
||||
warn_unused_configs = true
|
||||
@@ -162,7 +162,6 @@ ignore_missing_imports = true
|
||||
[[tool.mypy.overrides]]
|
||||
module = [
|
||||
"apps.coordinator-api.src.app.routers.*",
|
||||
"apps.coordinator-api.src.app.services.*",
|
||||
"apps.coordinator-api.src.app.contexts.*",
|
||||
]
|
||||
ignore_errors = true
|
||||
|
||||
Reference in New Issue
Block a user