refactor(scanners): finish app.scanners → app.domains.scanners import migration + lint + mypy config (P4.8 cont)
Some checks failed
CI / build (push) Failing after 2s

This commit is contained in:
Crypto Rug Munch 2026-07-07 04:44:32 +07:00
parent d666ad2664
commit 4686cb3cfd
18 changed files with 440 additions and 352 deletions

View file

@ -120,8 +120,8 @@ warn_unreachable = true
[[tool.mypy.overrides]]
# Domain layer is the strictest — no FastAPI leakage allowed.
module = ["app.domain.*"]
disallow_any_express_imports = true
module = ["app.domains.*"]
disallow_any_explicit = true
disallow_any_decorated = false # Pydantic decorators need this
no_implicit_optional = true
warn_return_any = true
@ -129,7 +129,7 @@ warn_return_any = true
[[tool.mypy.overrides]]
# Core (cross-cutting) is also strict.
module = ["app.core.*"]
disallow_any_express_imports = true
disallow_any_explicit = true
no_implicit_optional = true
[[tool.mypy.overrides]]