Explorar o código

Add 'style' target.

Jelmer Vernooij %!s(int64=8) %!d(string=hai) anos
pai
achega
c006390e8e
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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