Skip to content

Commit a0b073d

Browse files
adamtheturtleclaude
andcommitted
Add pyright ignore comments for type checking
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 1a930ea commit a0b073d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/test_query.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def slow_request(
132132
if timeout is not None and timeout < simulated_slow_threshold:
133133
time.sleep(0.2)
134134
raise requests.exceptions.Timeout
135-
return original_request(*args, **kwargs) # type: ignore[arg-type]
135+
return original_request(*args, **kwargs) # type: ignore[arg-type] # pyright: ignore[reportArgumentType]
136136

137137
with (
138138
patch.object(
@@ -182,7 +182,7 @@ def slow_request(
182182
if timeout is not None and timeout < simulated_slow_threshold:
183183
time.sleep(0.2)
184184
raise requests.exceptions.Timeout
185-
return original_request(*args, **kwargs) # type: ignore[arg-type]
185+
return original_request(*args, **kwargs) # type: ignore[arg-type] # pyright: ignore[reportArgumentType]
186186

187187
with patch.object(
188188
target=requests,

tests/test_vws.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def slow_request(
162162
if timeout is not None and timeout < simulated_slow_threshold:
163163
time.sleep(0.2)
164164
raise requests.exceptions.Timeout
165-
return original_request(*args, **kwargs) # type: ignore[arg-type]
165+
return original_request(*args, **kwargs) # type: ignore[arg-type] # pyright: ignore[reportArgumentType]
166166

167167
with (
168168
patch.object(
@@ -205,7 +205,7 @@ def slow_request(
205205
if timeout is not None and timeout < simulated_slow_threshold:
206206
time.sleep(0.2)
207207
raise requests.exceptions.Timeout
208-
return original_request(*args, **kwargs) # type: ignore[arg-type]
208+
return original_request(*args, **kwargs) # type: ignore[arg-type] # pyright: ignore[reportArgumentType]
209209

210210
with patch.object(
211211
target=requests,

0 commit comments

Comments
 (0)