aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-09-12 08:22:13 +0200
committerGuido Günther <agx@sigxcpu.org>2016-09-12 09:00:12 +0200
commit28453597a128c355575e0578cbd22e2c49853db5 (patch)
tree8bf95a3229198b9283882a9f2e7c7a7a49faa5df
parent3ded91b33ad1f756ed9e7c798528aeace532fdf3 (diff)
Switch from pychecker to flake8
The later is maintained and has more checks Use '-j1' for now since otherwise we need /dev/shm access which fails in a pbuilder chroot with EPERM.
-rw-r--r--Makefile3
-rw-r--r--debian/control2
2 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4575b355..9755fa11 100644
--- a/Makefile
+++ b/Makefile
@@ -9,8 +9,7 @@ test:
python setup.py nosetests --with-xcoverage
syntax-check:
- PYTHONPATH=. pychecker $(PYCHECKER_ARGS) -q \
- gbp gbp.scripts gbp.git gbp.deb
+ flake8 -j1
docs:
make -C docs
diff --git a/debian/control b/debian/control
index 8e96a880..a75a8cb9 100644
--- a/debian/control
+++ b/debian/control
@@ -7,9 +7,9 @@ Build-Depends:
debhelper (>= 9~),
dh-python,
docbook-utils,
+ flake8,
gtk-doc-tools,
perl,
- pychecker,
python (>> 2.7.3),
python-coverage,
python-dateutil,