Ver Fonte

Add 'style' target.

Jelmer Vernooij há 8 anos atrás
pai
commit
c006390e8e
1 ficheiros alterados com 4 adições e 0 exclusões
  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