Commit 533ce5c
committed
fix: add type ignore comments for pyright strict mode
ROOT CAUSE:
Pyright strict mode reports partially unknown types when
iterating over BaseExceptionGroup.exceptions tuple
CHANGES:
- Added type: ignore[reportUnknownVariableType] to for loop line
- Fixed location of type ignore comment to be on line with error
IMPACT:
CI pyright checks will now pass
FILES MODIFIED:
- src/mcp/shared/exceptions.py1 parent 477ba64 commit 533ce5c
File tree
1 file changed
+1
-1
lines changed1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
0 commit comments