CircleCI: Test for Python 3 syntax errors and undefined names (#1522)
authorcclauss <cclauss@me.com>
Mon, 31 Dec 2018 03:30:43 +0000 (04:30 +0100)
committerEbrahim Byagowi <ebrahim@gnu.org>
Mon, 31 Dec 2018 03:30:43 +0000 (07:00 +0330)
commit26c5b54fb09fb45e02c9c4618bcea4958c698953
tree31c81e0958a072685fe5abb258dca3521c05d752
parent686e6f2e40da378e031b4c9871a471599c6d61cf
CircleCI: Test for Python 3 syntax errors and undefined names (#1522)

Catch missing imports and errors like #1520 and #1521

__E901,E999,F821,F822,F823__ are the "_showstopper_" [flake8](http://flake8.pycqa.org) issues that can halt the runtime with a SyntaxError, NameError, etc. Most other flake8 issues are merely "style violations" -- useful for readability but they do not effect runtime safety.
* F821: undefined name `name`
* F822: undefined name `name` in `__all__`
* F823: local variable name referenced before assignment
* E901: SyntaxError or IndentationError
* E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree
.circleci/config.yml
src/gen-use-table.py
test/subset/subset_test_suite.py