Enable Python formatting checks in tidy on CI

This commit is contained in:
Jakub Beránek 2024-12-31 13:13:15 +01:00
parent 41b579660c
commit bbb5ca7c79

View file

@ -35,4 +35,4 @@ COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/
# NOTE: intentionally uses python2 for x.py so we can test it still works.
# validate-toolstate only runs in our CI, so it's ok for it to only support python3.
ENV SCRIPT TIDY_PRINT_DIFF=1 python2.7 ../x.py test \
--stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint,cpp:fmt
--stage 0 src/tools/tidy tidyselftest --extra-checks=py,cpp