Ignore E402 (import not on top of file) PEP8 error.
Travis uses the latest pep8 sources from Git and since
f3a12babd4
this error is given for all Python files generated by SWIG with -builtin
option.
This commit is contained in:
parent
cb53e3063b
commit
e12a1d7671
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ endif
|
|||
LANGUAGE = python
|
||||
PYTHON = $(PYBIN)
|
||||
PEP8 = @PEP8@
|
||||
PEP8_FLAGS = --ignore=E501,E30,W291,W391
|
||||
PEP8_FLAGS = --ignore=E402,E501,E30,W291,W391
|
||||
|
||||
#*_runme.py for Python 2.x, *_runme3.py for Python 3.x
|
||||
PY2SCRIPTSUFFIX = _runme.py
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue