Commit Graph

7 Commits

Author SHA1 Message Date
Giovanni Campagna 9a0031cd8b Clean up Travis 2020-01-28 18:37:28 -08:00
Giovanni Campagna d569037078 Make tests pass
Redo how predict works, fix reversing
2020-01-14 09:26:33 -08:00
mehrad b3bbad24c5 update tests 2019-03-04 15:08:56 -08:00
mehrad 3a1b969ad3 updates 2019-03-01 17:51:54 -08:00
mehrad 9c3145846a add tests 2019-03-01 17:51:54 -08:00
Bryan McCann 6662a33dae
Python 2.7 not currently supported 2018-06-22 10:51:09 -07:00
cclauss ef9282d8e0 Use automated testing to find Python syntax errors
* https://travis-ci.org/salesforce
* https://travis-ci.org/salesforce/decaNLP

http://flake8.pycqa.org will flag the Travis CI build if there are Python syntax errors or undefined names.

E901,E999,F821,F822,F823 are the "showstopper" flake8 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. This PR therefore recommends a flake8 run of these tests on the entire codebase.

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
2018-06-22 10:44:22 -07:00