From abac4fb84c6839dbc6da1bc0f84313495202dd29 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 21 Nov 2014 20:48:06 +0100 Subject: [PATCH] convenience makefile --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6d322f2 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +# note: this isn't needed for building BAM +# its just for some convenience targets. + +# pep8 test +PY_FILES=$(shell find $(PWD) -type f -name '*.py') +pep8: + - flake8 $(PY_FILES) --ignore=E501,E302,E123,E126,E128,E129,E124,E122 > pep8.log + gvim --nofork -c "cfile pep8.log" -c "cope" -c "clast" + +test: + python3 ./tests/test_cli.py