From d8791f8f9b7fda3ad8a27120a3cf86ee90cdd353 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Mon, 26 Nov 2018 11:41:36 +0100 Subject: [PATCH] pylint: also verify scripts Build all scripts in install/tools/ to check them with pylint, so that ``make pylint`` always checks all scripts. The script files are generated by make. Please note that fastlint does not check script files. See: https://pagure.io/freeipa/issue/7772 Signed-off-by: Christian Heimes Reviewed-By: Thomas Woerner --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index 309312bf5..da4546f25 100644 --- a/Makefile.am +++ b/Makefile.am @@ -274,6 +274,8 @@ yamllint: $(YAML_FILES) if WITH_PYLINT pylint: $(GENERATED_PYTHON_FILES) ipasetup.py + @# build CLI scripts + $(MAKE) -C $(top_builddir)/install/tools FILES=`find $(top_srcdir) \ -type d -exec test -e '{}/__init__.py' \; -print -prune -o \ -path './rpmbuild' -prune -o \