summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2023-05-14 22:24:49 -0400
committerJacob Walls <jacobtylerwalls@gmail.com>2023-05-15 10:09:17 -0400
commit63096014d2786a972f5f2468724496e046c487fe (patch)
treef15bb303782055f2537c9c8e9d53513e50b822f6
parentf34070a410ede44be5b0c7ef0dba1ca4320181b6 (diff)
downloadastroid-git-63096014d2786a972f5f2468724496e046c487fe.tar.gz
Add disable
-rw-r--r--astroid/inference_tip.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/astroid/inference_tip.py b/astroid/inference_tip.py
index b2ac1198..9eda5b4f 100644
--- a/astroid/inference_tip.py
+++ b/astroid/inference_tip.py
@@ -75,7 +75,8 @@ def _inference_tip_cached(func: InferFn[_NodesT]) -> InferFn[_NodesT]:
if len(_cache) > 64:
_cache.popitem(last=False)
- yield from result
+ # https://github.com/pylint-dev/pylint/issues/8686
+ yield from result # pylint: disable=used-before-assignment
return inner