Skip to content

Instantly share code, notes, and snippets.

@amyreese
Created July 4, 2018 01:58
Show Gist options
  • Save amyreese/1cfc371d668d76ccb955f925a75ed13a to your computer and use it in GitHub Desktop.
Save amyreese/1cfc371d668d76ccb955f925a75ed13a to your computer and use it in GitHub Desktop.
(.venv) jreese@kirby ~/workspace/aioitertools master » pylint --version && pylint --rcfile .pylint aioitertools setup.py
pylint 2.0.0.dev1
astroid 1.6.5
Python 3.7.0 (default, Jul 4 2018, 01:03:13)
[GCC 8.1.1 20180531]
Traceback (most recent call last):
File "/home/jreese/workspace/aioitertools/.venv/bin/pylint", line 11, in <module>
sys.exit(run_pylint())
File "/home/jreese/workspace/aioitertools/.venv/lib/python3.7/site-packages/pylint/__init__.py", line 18, in run_pylint
Run(sys.argv[1:])
File "/home/jreese/workspace/aioitertools/.venv/lib/python3.7/site-packages/pylint/lint.py", line 1371, in __init__
linter.check(args)
File "/home/jreese/workspace/aioitertools/.venv/lib/python3.7/site-packages/pylint/lint.py", line 783, in check
self._do_check(files_or_modules)
File "/home/jreese/workspace/aioitertools/.venv/lib/python3.7/site-packages/pylint/lint.py", line 916, in _do_check
self.check_astroid_module(ast_node, walker, rawcheckers, tokencheckers)
File "/home/jreese/workspace/aioitertools/.venv/lib/python3.7/site-packages/pylint/lint.py", line 996, in check_astroid_module
walker.walk(ast_node)
File "/home/jreese/workspace/aioitertools/.venv/lib/python3.7/site-packages/pylint/utils.py", line 1140, in walk
self.walk(child)
File "/home/jreese/workspace/aioitertools/.venv/lib/python3.7/site-packages/pylint/utils.py", line 1142, in walk
cb(astroid)
File "/home/jreese/workspace/aioitertools/.venv/lib/python3.7/site-packages/pylint/checkers/variables.py", line 1338, in _store_type_annotation_names
type_annotation = node.type_annotation
AttributeError: 'Assign' object has no attribute 'type_annotation'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment