Skip to content

Commit

Permalink
Add 'make style'. target
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed Apr 15, 2018
1 parent 18a98a3 commit 0140329
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 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
Expand Down Expand Up @@ -27,3 +28,6 @@ check-all: check check-pypy

clean::
$(SETUP) clean --all

style:
$(FLAKE8) --exclude=build,.git,.tox

0 comments on commit 0140329

Please sign in to comment.