mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-13 17:02:02 -05:00
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 <cheimes@redhat.com> Reviewed-By: Thomas Woerner <twoerner@redhat.com>
This commit is contained in:
1 parent
f800d8f8ca
commit
d8791f8f9b
1 file changed
+2
@@ -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 \
|
||||
|
||||
Reference in new issue
Block a user