Fix accidental regression in pylint Makefile check.
It looks like a couple of lines were accidentely removed in
and since then we didn't
perform any pylint checks on StackStorm components and runners code.
@@ -179,6 +179,19 @@ configgen: requirements .configgen
@echo "================== pylint ===================="
@echo
# Lint st2 components
+ @for component in $(COMPONENTS); do\
+ echo "==========================================================="; \
+ echo "Running pylint on" $$component; \
+ echo "==========================================================="; \
+ $(VIRTUALENV_DIR)/bin/pylint -j $(PYLINT_CONCURRENCY) -E --rcfile=./lint-configs/python/.pylintrc --load-plugins=pylint_plugins.api_models --load-plugins=pylint_plugins.db_models $$component/$$component || exit 1; \
+ done
+ # Lint runner modules and packages
+ @for component in $(COMPONENTS_RUNNERS); do\
+ echo "==========================================================="; \
+ echo "Running pylint on" $$component; \
+ echo "==========================================================="; \
+ $(VIRTUALENV_DIR)/bin/pylint -j $(PYLINT_CONCURRENCY) -E --rcfile=./lint-configs/python/.pylintrc --load-plugins=pylint_plugins.api_models --load-plugins=pylint_plugins.db_models $$component/*.py || exit 1; \
+ done
# Lint Python pack management actions
. $(VIRTUALENV_DIR)/bin/activate; pylint -j $(PYLINT_CONCURRENCY) -E --rcfile=./lint-configs/python/.pylintrc --load-plugins=pylint_plugins.api_models contrib/packs/actions/*.py || exit 1;
. $(VIRTUALENV_DIR)/bin/activate; pylint -j $(PYLINT_CONCURRENCY) -E --rcfile=./lint-configs/python/.pylintrc --load-plugins=pylint_plugins.api_models contrib/packs/actions/*/*.py || exit 1;
