diff options
author | Jelmer Vernooij <jelmer@jelmer.uk> | 2018-04-15 13:25:08 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@jelmer.uk> | 2018-04-15 13:25:08 +0100 |
commit | 01403290ca0e7426423a4283b5cc80ee68db0e1f (patch) | |
tree | f4425d0cc4c2ab7291070218065ba6d1396fe645 | |
parent | 18a98a368816376b972ee23b7fd1fdf34d1f7658 (diff) | |
download | python-fastimport-git-01403290ca0e7426423a4283b5cc80ee68db0e1f.tar.gz |
Add 'make style'. target
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |