Commit 20f6d70
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 2e2c111 commit 20f6d70
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
152 | 156 | | |
153 | 157 | | |
154 | 158 | | |
| |||
0 commit comments