You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
without the disable=invalid-name this succeeds fine, but with it I get:
Traceback (most recent call last):
File "$project"/bin/pylint", line 11, in <module>
sys.exit(run_pylint())
File "$project"/lib/python3.6/site-packages/pylint/__init__.py", line 13, in run_pylint
Run(sys.argv[1:])
File "$project"/lib/python3.6/site-packages/pylint/lint.py", line 1300, in __init__
linter.check(args)
File "$project"/lib/python3.6/site-packages/pylint/lint.py", line 726, in check
self._do_check(files_or_modules)
File "$project"/lib/python3.6/site-packages/pylint/lint.py", line 855, in _do_check
self.check_astroid_module(ast_node, walker, rawcheckers, tokencheckers)
File "$project"/lib/python3.6/site-packages/pylint/lint.py", line 934, in check_astroid_module
walker.walk(ast_node)
File "$project"/lib/python3.6/site-packages/pylint/utils.py", line 973, in walk
self.walk(child)
File "$project"/lib/python3.6/site-packages/pylint/utils.py", line 970, in walk
cb(astroid)
File "$project"/lib/python3.6/site-packages/pylint/checkers/classes.py", line 536, in visit_classdef
self._check_bases_classes(node)
File "$project"/lib/python3.6/site-packages/pylint/checkers/classes.py", line 1125, in _check_bases_classes
unimplemented_abstract_methods(node, is_abstract).items(),
File "$project"/lib/python3.6/site-packages/pylint/checkers/utils.py", line 552, in unimplemented_abstract_methods
infered = safe_infer(obj)
File "$project"/lib/python3.6/site-packages/pylint/checkers/utils.py", line 773, in safe_infer
value = next(inferit)
File "$project"/lib/python3.6/site-packages/astroid/decorators.py", line 85, in wrapped
res = next(generator)
File "$project"/lib/python3.6/site-packages/astroid/bases.py", line 93, in _infer_stmts
context.lookupname = stmt._infer_name(frame, name)
AttributeError: 'NoneType' object has no attribute '_infer_name'
Current behavior
Expected behavior
pylint --version output
pylint is an unmodified version of d78e013 , astroid is 313c0c3 , python is:
Python 3.6.0 (default, Mar 1 2017, 17:08:51)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)]
The text was updated successfully, but these errors were encountered:
, ### Steps to reproduce
I can't actually reproduce this without my exact code, but the structure looks like:
without the
disable=invalid-name
this succeeds fine, but with it I get:Current behavior
Expected behavior
pylint --version output
pylint is an unmodified version of d78e013 , astroid is 313c0c3 , python is:
Python 3.6.0 (default, Mar 1 2017, 17:08:51)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)]
The text was updated successfully, but these errors were encountered: