ソースを参照

Add 'style' target.

Jelmer Vernooij 8 年 前
コミット
c006390e8e
1 ファイル変更4 行追加0 行削除
  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