Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Invalid syntax exception not caught by pep257 runner #168
When invoked directly on the command line to parse a module with invalid syntax, an exception is raised.
Each of the following are probably separate issues that can be solved by hardening the parser, but there will always be new syntax issues, and the pep257 runner should handle them more reasonably.
pep8 test file E90.py:
Another one is running pep257 on Python 2 with code containing matmul ; e.g. cpython Lib/unittest/test/testmock/testmagicmethods.py