Commit ba8d55e
committed
test: add pyright ignore directives for dependency injection tests
Added pyright configuration comments to suppress expected type checking
warnings in test files that use the Depends pattern.
The Depends pattern inherently has some type checking limitations that are
expected and acceptable in test code:
- reportUnknownMemberType: ContentBlock type narrowing
- reportArgumentType: Depends marker type inference
- reportUnknownVariableType: Generic type inference in tests
These are runtime-tested patterns that work correctly but have some
static type checking limitations in strict mode.1 parent b92ea9b commit ba8d55e
File tree
2 files changed
+3
-1
lines changed- tests/server/mcpserver
- utilities
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
0 commit comments