aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-01-06 10:29:22 +0100
committerGuido Günther <agx@sigxcpu.org>2017-01-06 10:29:22 +0100
commit25fbbf0868efdfa3c817ac79824199fa93c4f7fd (patch)
tree4990c76be339fe36e967ec62ebdf55d7e05629be /Makefile
parentde345798944b38c5d1820deae7b6f44c5e267872 (diff)
flake8 check examples
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 09cb209..e512cfe 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+PY_EXAMPLES=$(shell grep -l /usr/bin/python examples/*)
+
all: syntax-check test
all+net:
@@ -13,6 +15,7 @@ test:
syntax-check:
flake8 -j1
+ flake8 -j1 $(PY_EXAMPLES)
docs:
make -C docs