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
Notice the quotes around the keyword. I tested invalid syntax on Flake8 and didn't run across this bug it seems the AST library behaves different in some cases. Sorry for this. It'll be fixed up in the next release.
In GitLab by @bnomis on Aug 23, 2016, 20:33
The attached file causes flake8 to crash with the error
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
flake8 installed via pip
Python 2.7.11
pip 8.1.2 from /Users/rcxue/venv/lib/python2.7/site-packages (python 2.7)
setuptools 26.0.0
flake8 3.0.4 (mccabe: 0.5.2, pyflakes: 1.2.3, pycodestyle: 2.0.0) CPython 2.7.11 on Darwin
pyflake-test.py
The text was updated successfully, but these errors were encountered: