summaryrefslogtreecommitdiff
path: root/Examples
diff options
context:
space:
mode:
authorVadim Zeitlin <vz-swig@zeitlins.org>2014-12-16 17:05:53 +0100
committerVadim Zeitlin <vz-swig@zeitlins.org>2014-12-16 17:28:27 +0100
commite12a1d7671e1a3876c2990ed7c0b36d37cf992d2 (patch)
tree09d1c9655edd28362a2ac8090902b82363a96b8f /Examples
parentcb53e3063bdd6476f91b2a1accfcba947341fc92 (diff)
downloadswig-e12a1d7671e1a3876c2990ed7c0b36d37cf992d2.tar.gz
Ignore E402 (import not on top of file) PEP8 error.
Travis uses the latest pep8 sources from Git and since https://github.com/jcrocholl/pep8/commit/f3a12babd4278f8f7a529a9d1d63d56faf071cf8 this error is given for all Python files generated by SWIG with -builtin option.
Diffstat (limited to 'Examples')
-rw-r--r--Examples/test-suite/python/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/test-suite/python/Makefile.in b/Examples/test-suite/python/Makefile.in
index 3b237475c..82a0e9db1 100644
--- a/Examples/test-suite/python/Makefile.in
+++ b/Examples/test-suite/python/Makefile.in
@@ -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