Add checks to maintain a consistent Python code style and prevent bugs (#515)

A flake8 configuration is included in setup.cfg and the checks are
executed automatically on Travis:

* Ensures a consistent PEP8 code style
* Does basic linting to prevent possible bugs
This commit is contained in:
Dean Moldovan
2016-11-20 21:21:54 +01:00
committed by Wenzel Jakob
parent df81546965
commit bad1740213
22 changed files with 157 additions and 164 deletions

View File

@@ -1,4 +1,4 @@
# This file is called from 'test_eval.py'
if 'call_test2' in locals():
call_test2(y)
call_test2(y) # noqa: F821 undefined name