瀏覽代碼

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