Browse Source

Add 'style' target.

Jelmer Vernooij 8 years ago
parent
commit
c006390e8e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Makefile

+ 4 - 0
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