Add 'style' target.
authorJelmer Vernooij <jelmer@jelmer.uk>
Fri, 31 Mar 2017 01:51:44 +0000 (01:51 +0000)
committerJelmer Vernooij <jelmer@jelmer.uk>
Fri, 31 Mar 2017 01:51:44 +0000 (01:51 +0000)
Makefile

index dee0a3cb663921e9a5ea81367d152420cc23ef6c..edf6a1eeba094bbe0a831d38c6a60973a9d4a0fc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
 PYTHON = python
 PYFLAKES = pyflakes
 PEP8 = pep8
+FLAKE8 ?= flake8
 SETUP = $(PYTHON) setup.py
 PYDOCTOR ?= pydoctor
 TESTRUNNER ?= unittest
@@ -57,6 +58,9 @@ flakes:
 pep8:
        $(PEP8) dulwich
 
+style8:
+       $(FLAKE8)
+
 before-push: check
        git diff origin/master | $(PEP8) --diff