From 235fa2f7e67dea1ef20830ae658eb4f817a5caef Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Wed, 22 Aug 2018 14:54:14 -0400 Subject: add `make style` make target --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 030ddd67..24f33763 100644 --- a/Makefile +++ b/Makefile @@ -53,3 +53,7 @@ locales: else \ mkdir -p locales; \ fi + +.PHONY: style +style: + flake8 . --count --max-complexity=10 --max-line-length=150 --statistics --exclude=pyembroidery,__init__.py -- cgit v1.3.1 From adc0e3e43bb83f4608317293537309d8a53a496e Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Thu, 23 Aug 2018 21:47:27 -0400 Subject: TEMPORARY: ignore simulator.py and params.py in style check --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 24f33763..770fd585 100644 --- a/Makefile +++ b/Makefile @@ -56,4 +56,4 @@ locales: .PHONY: style style: - flake8 . --count --max-complexity=10 --max-line-length=150 --statistics --exclude=pyembroidery,__init__.py + flake8 . --count --max-complexity=10 --max-line-length=150 --statistics --exclude=pyembroidery,__init__.py,simulator.py,params.py -- cgit v1.3.1