Install pylint explicitly in custom linter action

Change-Id: I61891ef6682af209ee94b187b247f5b779e83c8a
This commit is contained in:
Joey Parrish 2021-06-21 16:37:24 -07:00
parent f8816030a1
commit 9f11077768
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@ runs:
sudo install -m 755 git-clang-format /usr/local/bin/git-clang-format sudo install -m 755 git-clang-format /usr/local/bin/git-clang-format
rm git-clang-format rm git-clang-format
echo "::endgroup::" echo "::endgroup::"
echo "::group::Installing pylint"
python3 -m pip install --upgrade pylint
echo "::endgroup::"
echo "::group::Check clang-format for C++ sources" echo "::group::Check clang-format for C++ sources"
# NOTE: --binary forces use of global clang-format (which works) instead # NOTE: --binary forces use of global clang-format (which works) instead
# of depot_tools clang-format (which doesn't). # of depot_tools clang-format (which doesn't).