Add rule to run lint-python script
authorng0 <ng0@n0.is>
Mon, 4 Mar 2019 13:51:57 +0000 (13:51 +0000)
committerng0 <ng0@n0.is>
Mon, 4 Mar 2019 13:51:57 +0000 (13:51 +0000)
Makefile.am

index 9be41951edbc969d47d95558145703a4b7775dac..41d366b9341f57280e2c960d9b25ffdbadb08e5e 100644 (file)
@@ -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