Merge pull request #75700 from akien-mga/ci-visible-whitespace

CI: Visibly print trailing whitespace when static checks fail
This commit is contained in:
Rémi Verschelde 2023-04-05 20:21:19 +02:00
commit fba9416fe0
No known key found for this signature in database
GPG key ID: C3336907360768E1
7 changed files with 39 additions and 29 deletions

View file

@ -22,7 +22,8 @@ jobs:
sudo apt-get install -qq dos2unix clang-format-15 libxml2-utils python3-pip moreutils
sudo update-alternatives --remove-all clang-format || true
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-15 100
sudo pip3 install black==22.3.0 pygments pytest==7.1.2 mypy==0.971
sudo pip3 install black==22.3.0 pytest==7.1.2 mypy==0.971
git config diff.wsErrorHighlight all
- name: File formatting checks (file_format.sh)
run: |