Commit 3230265
committed
config(mypy): add overrides for env-dependent type ignores
Add mypy overrides for modules with environment-dependent
type ignores (CI vs local have different library versions):
- app.middleware
- app.security.rate_limiting
- db.executor
This disables warn_unused_ignores for these modules to handle
differences between CI (minimal stubs) and local (full stubs).1 parent b273457 commit 3230265
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
129 | 141 | | |
130 | 142 | | |
131 | 143 | | |
| |||
0 commit comments