Commit f57c388
committed
chore: enable mypy strict mode for maximum type safety
Added comprehensive mypy strict configuration:
- strict = true (enables all strict checks)
- disallow_untyped_calls = true
- disallow_untyped_decorators = true
- disallow_any_generics = true
- disallow_subclassing_any = true
- warn_unreachable = true
- strict_concatenate = true
Disabled overly restrictive checks:
- disallow_any_unimported = false
- disallow_any_expr = false
- disallow_any_decorated = false
- disallow_any_explicit = false
Updated overrides:
- Added rivet_di._rivet_core to ignore_missing_imports
- Kept behave.* for BDD testing framework
All existing code passes mypy strict mode (5 source files checked).
This ensures maximum type safety going forward.1 parent 7f6d02a commit f57c388
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
72 | 81 | | |
73 | 82 | | |
74 | 83 | | |
75 | 84 | | |
76 | 85 | | |
| 86 | + | |
77 | 87 | | |
| 88 | + | |
78 | 89 | | |
79 | 90 | | |
80 | | - | |
| 91 | + | |
81 | 92 | | |
82 | 93 | | |
83 | 94 | | |
| |||
0 commit comments