Commit 62a2fed
fix(mypy): skip huggingface_hub imports to resolve Python 3.9 syntax error
huggingface_hub uses match statements (Python 3.10+). With python_version
set to 3.9 in mypy config, following imports into that package caused a
syntax error that blocked all type checking. Skip it via overrides since
we don't need to type-check third-party code.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 276c8e8 commit 62a2fed
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
123 | 128 | | |
124 | 129 | | |
125 | 130 | | |
| |||
0 commit comments