From 77b135454da98206cc216b81d1afe57f57a6e1da Mon Sep 17 00:00:00 2001 From: ng0 Date: Mon, 4 Mar 2019 13:51:57 +0000 Subject: [PATCH] Add rule to run lint-python script --- Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.25.1