Commit eb817c1
committed
chore[mypy]: Add snapshot module override
why: The snapshot classes use frozen_dataclass_sealable decorator which
adds the seal method at runtime, but mypy cannot detect this
during static analysis.
what:
- Add a mypy override in pyproject.toml to disable 'misc' and
'unused-ignore' error codes specifically for libtmux.snapshot
- This allows proper typing without creating false errors from mypy
while preserving the runtime functionality1 parent cec71a5 commit eb817c1
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
147 | 151 | | |
148 | 152 | | |
149 | 153 | | |
| |||
0 commit comments