diff options
author | Bryce Guinta <bryce.paul.guinta@gmail.com> | 2018-07-24 10:37:31 -0600 |
---|---|---|
committer | Bryce Guinta <bryce.paul.guinta@gmail.com> | 2018-07-24 10:37:31 -0600 |
commit | ed835c5bf28328de87ae47ea8cfbae5774d3184e (patch) | |
tree | 38e8cb8d890586a8400e7dfc04c2df82a4d223ae /astroid/inference.py | |
parent | 8d1de50deeea0b7b4ccc0fb6435afd172a0ef4cf (diff) | |
download | astroid-git-ed835c5bf28328de87ae47ea8cfbae5774d3184e.tar.gz |
Fix lint error
pylint doesn't understand decorators
Diffstat (limited to 'astroid/inference.py')
-rw-r--r-- | astroid/inference.py | 1 |
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) ) |