nathan@w530 ~/code/inbox-persist ♪ flake8 inboxpersist/
Traceback (most recent call last):
File "/usr/local/bin/flake8", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/flake8/main.py", line 33, in main
report = flake8_style.check_files()
File "/usr/local/lib/python2.7/dist-packages/flake8/engine.py", line 180, in check_files
return self._retry_serial(self._styleguide.check_files, paths=paths)
File "/usr/local/lib/python2.7/dist-packages/flake8/engine.py", line 171, in _retry_serial
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pep8.py", line 1840, in check_files
self.input_dir(path)
File "/usr/local/lib/python2.7/dist-packages/pep8.py", line 1876, in input_dir
runner(os.path.join(root, filename))
File "/usr/local/lib/python2.7/dist-packages/flake8/engine.py", line 125, in input_file
return fchecker.check_all(expected=expected, line_offset=line_offset)
File "/usr/local/lib/python2.7/dist-packages/pep8.py", line 1574, in check_all
self.check_ast()
File "/usr/local/lib/python2.7/dist-packages/pep8.py", line 1520, in check_ast
checker = cls(tree, self.filename)
File "/usr/local/lib/python2.7/dist-packages/flake8/_pyflakes.py", line 43, in __init__
withDoctest=self.withDoctest)
File "/usr/local/lib/python2.7/dist-packages/pyflakes/checker.py", line 402, in __init__
self.handleChildren(tree)
File "/usr/local/lib/python2.7/dist-packages/pyflakes/checker.py", line 724, in handleChildren
self.handleNode(node, tree)
File "/usr/local/lib/python2.7/dist-packages/pyflakes/checker.py", line 771, in handleNode
handler(node)
File "/usr/local/lib/python2.7/dist-packages/pyflakes/checker.py", line 1150, in IMPORTFROM
node.module, alias.name)
File "/usr/local/lib/python2.7/dist-packages/pyflakes/checker.py", line 198, in __init__
full_name = module + '.' + self.real_name
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
This happens for me in 1.2 but not 1.0 or 1.1.
nathan@w530 ~/code/ inbox-persist ♪ flake8 inboxpersist/ bin/flake8" , line 11, in <module> exit(main( )) lib/python2. 7/dist- packages/ flake8/ main.py" , line 33, in main style.check_ files() lib/python2. 7/dist- packages/ flake8/ engine. py", line 180, in check_files serial( self._styleguid e.check_ files, paths=paths) lib/python2. 7/dist- packages/ flake8/ engine. py", line 171, in _retry_serial lib/python2. 7/dist- packages/ pep8.py" , line 1840, in check_files input_dir( path) lib/python2. 7/dist- packages/ pep8.py" , line 1876, in input_dir os.path. join(root, filename)) lib/python2. 7/dist- packages/ flake8/ engine. py", line 125, in input_file check_all( expected= expected, line_offset= line_offset) lib/python2. 7/dist- packages/ pep8.py" , line 1574, in check_all check_ast( ) lib/python2. 7/dist- packages/ pep8.py" , line 1520, in check_ast lib/python2. 7/dist- packages/ flake8/ _pyflakes. py", line 43, in __init__ =self.withDocte st) lib/python2. 7/dist- packages/ pyflakes/ checker. py", line 402, in __init__ handleChildren( tree) lib/python2. 7/dist- packages/ pyflakes/ checker. py", line 724, in handleChildren handleNode( node, tree) lib/python2. 7/dist- packages/ pyflakes/ checker. py", line 771, in handleNode lib/python2. 7/dist- packages/ pyflakes/ checker. py", line 1150, in IMPORTFROM lib/python2. 7/dist- packages/ pyflakes/ checker. py", line 198, in __init__
Traceback (most recent call last):
File "/usr/local/
sys.
File "/usr/local/
report = flake8_
File "/usr/local/
return self._retry_
File "/usr/local/
return func(*args, **kwargs)
File "/usr/local/
self.
File "/usr/local/
runner(
File "/usr/local/
return fchecker.
File "/usr/local/
self.
File "/usr/local/
checker = cls(tree, self.filename)
File "/usr/local/
withDoctest
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/local/
handler(node)
File "/usr/local/
node.module, alias.name)
File "/usr/local/
full_name = module + '.' + self.real_name
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'