Commit b040a74
fix(nwis): parameterize _reject_unexpected_format kwargs for mypy --strict
`kwargs: dict` tripped mypy's disallow-any-generics under the strict
type-check CI, which runs against the PR merged into main. Annotate it as
`dict[str, object]` -- a builtin generic that needs no `typing` import, so it
stays ruff-clean on this branch (which predates main's `from typing import
Any`) and avoids an add/add conflict on that import line when merged.
Verified: mypy --strict and ruff both clean on the merge with main; the nwis
suite (57) still passes.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 5f46fff commit b040a74
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
134 | 136 | | |
135 | 137 | | |
136 | 138 | | |
| |||
0 commit comments