move pep8 check to Makefile

master
neingeist 10 years ago
parent 9f9a7ceff7
commit acd1c9a135

@ -8,6 +8,11 @@ all: _test_swig.so _test_swig_opencv.so
test:
python2.7 test_swig_test.py
.PHONY: pep8
pep8:
find . -name "*.py" -not -name test_swig.py -not -name test_swig_opencv.py \
| xargs pep8
_test_swig.so: test_swig.o
ld -shared test_swig.o test_swig_wrap.o -o _test_swig.so

@ -1,3 +0,0 @@
#!/bin/sh
find . -name "*.py" -not -name test_swig.py -not -name test_swig_opencv.py \
| xargs pep8
Loading…
Cancel
Save