From 01403290ca0e7426423a4283b5cc80ee68db0e1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= Date: Sun, 15 Apr 2018 13:25:08 +0100 Subject: Add 'make style'. target --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 0852cfd..fd04454 100644 --- 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 -- cgit v1.2.1