Skip to content

Commit

Permalink
pylint: Temp workaround for Pylint 2.7.2 regression
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislavlevin committed Mar 25, 2021
1 parent 00b13fe commit f5f2ce0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ endif
$(PYTHON) -m pycodestyle --diff || exit $$?; \
echo -e "\npylint"; \
echo "------"; \
PYTHONPATH=$(abspath $(top_srcdir)) $(PYTHON) -m pylint \
PYTHONPATH=$(abspath $(top_srcdir)) pylint.py3 \
--rcfile=$(top_srcdir)/pylintrc \
--load-plugins pylint_plugins \
$${FILES} || exit $$?; \
Expand Down Expand Up @@ -350,7 +350,7 @@ pylint: $(GENERATED_PYTHON_FILES) ipasetup.py python_scripts
-type f -exec grep -qsm1 '^#!.*\bpython' '{}' \; -print`; \
FILES=`echo -e "$${FILES}\n$(AZURE_PYTHON_SCRIPT_SUBDIR)"`; \
echo -e "Pylint on $(PYTHON) is running over files:\n$${FILES}\nPlease wait ...\n"; \
PYTHONPATH=$(top_srcdir) $(PYTHON) -m pylint \
PYTHONPATH=$(top_srcdir) pylint.py3 \
--rcfile=$(top_srcdir)/pylintrc \
--load-plugins pylint_plugins \
$${FILES}
Expand Down

0 comments on commit f5f2ce0

Please sign in to comment.