git.samba.org
/
jelmer
/
python-fastimport.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18a98a3
)
Add 'make style'. target
author
Jelmer Vernooij
<jelmer@jelmer.uk>
Sun, 15 Apr 2018 12:25:08 +0000
(13:25 +0100)
committer
Jelmer Vernooij
<jelmer@jelmer.uk>
Sun, 15 Apr 2018 12:25:08 +0000
(13:25 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 0852cfd3b91c4a3a08c4541d96f97c1118a94067..fd0445445cd079a2c635c7d6f548ab3992799638 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,4
+1,5
@@
PYTHON = python
+FLAKE8 ?= flake8
SETUP = $(PYTHON) setup.py
ifeq ($(shell $(PYTHON) -c "import sys; print(sys.version_info >= (2, 7))"),True)
TESTRUNNER ?= unittest
@@
-27,3
+28,6
@@
check-all: check check-pypy
clean::
$(SETUP) clean --all
+
+style:
+ $(FLAKE8) --exclude=build,.git,.tox