Commit 84d4868
committed
fix: add mypy override for PIL imports in integration tests
The CI was failing for Python 3.11 because mypy couldn't find type stubs
for the PIL (Pillow) library, which is imported in the integration tests.
Since PIL is only used optionally in integration tests (with a try/except
fallback), we add a mypy override to ignore missing imports for PIL modules.
This fixes the Python 3.11 CI failures while maintaining type safety for
the rest of the codebase.1 parent 048388f commit 84d4868
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
108 | 112 | | |
109 | 113 | | |
110 | 114 | | |
| |||
0 commit comments