summaryrefslogtreecommitdiff
path: root/astroid/inference.py
diff options
context:
space:
mode:
authorBryce Guinta <bryce.paul.guinta@gmail.com>2018-07-24 10:37:31 -0600
committerBryce Guinta <bryce.paul.guinta@gmail.com>2018-07-24 10:37:31 -0600
commited835c5bf28328de87ae47ea8cfbae5774d3184e (patch)
tree38e8cb8d890586a8400e7dfc04c2df82a4d223ae /astroid/inference.py
parent8d1de50deeea0b7b4ccc0fb6435afd172a0ef4cf (diff)
downloadastroid-git-ed835c5bf28328de87ae47ea8cfbae5774d3184e.tar.gz
Fix lint error
pylint doesn't understand decorators
Diffstat (limited to 'astroid/inference.py')
-rw-r--r--astroid/inference.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/astroid/inference.py b/astroid/inference.py
index 08b7caab..2535f4f5 100644
--- a/astroid/inference.py
+++ b/astroid/inference.py
@@ -189,6 +189,7 @@ def infer_name(self, context=None):
context.lookupname = self.name
return bases._infer_stmts(stmts, context, frame)
+# pylint: disable=no-value-for-parameter
nodes.Name._infer = decorators.raise_if_nothing_inferred(
decorators.path_wrapper(infer_name)
)