From: ng0 Date: Mon, 4 Mar 2019 13:51:57 +0000 (+0000) Subject: Add rule to run lint-python script X-Git-Tag: v0.11.1~178 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=77b135454da98206cc216b81d1afe57f57a6e1da;p=oweals%2Fgnunet.git Add rule to run lint-python script --- diff --git a/Makefile.am b/Makefile.am index 9be41951e..41d366b93 100644 --- a/Makefile.am +++ b/Makefile.am @@ -34,3 +34,7 @@ check-bashism: printf "Run checkbashism on all .sh files.\n" printf "Currently this expects checkbashism.pl at a fixed location." find . -type f ! -path '*/.*' ! -path '*/_*' -name '*.sh' -print0 | xargs -0 ~/src/scripts/src/checkbashisms.pl -f + +check-python: + printf "Running flake8 and 2to3 if detected.\n" + $(top_srcdir)/contrib/scripts/lint-python.sh