Skip to content

Commit b39202c

Browse files
committed
Add type ignore
1 parent 57425f2 commit b39202c

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

astroid/nodes/node_ng.py

+10-2
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,17 @@ def infer(
144144
# explicit_inference is not bound, give it self explicitly
145145
try:
146146
if context is None:
147-
yield from self._explicit_inference(self, context, **kwargs)
147+
yield from self._explicit_inference(
148+
self, # type: ignore[arg-type]
149+
context,
150+
**kwargs,
151+
)
148152
return
149-
for result in self._explicit_inference(self, context, **kwargs):
153+
for result in self._explicit_inference(
154+
self, # type: ignore[arg-type]
155+
context,
156+
**kwargs,
157+
):
150158
context.nodes_inferred += 1
151159
yield result
152160
return

0 commit comments

Comments
 (0)