summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--Makefile4
2 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index d2d2bb16..f7a7a811 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -144,7 +144,7 @@ script:
travis_wait 60 ssh -o StrictHostKeyChecking=no -i .ssh/id_rsa -N -R 9999:localhost:9999 debug@lex.gd
fi
if [ -n "$LINT" ]; then
- flake8 . --count --max-complexity=10 --max-line-length=150 --statistics --exclude=pyembroidery,__init__.py
+ make style
elif [ "$BUILD" = "linux" -o "$BUILD" = "osx" ]; then
make dist
elif [ "$BUILD" = "windows" ]; then
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