pre-commit format check: ignore *.py in ports/unix

This commit is contained in:
Dan Halbert 2024-09-10 17:14:25 -04:00
parent 513d70346e
commit 1c2eb47055

View file

@ -65,7 +65,7 @@ EXCLUSIONS = [
# STM32 build includes generated Python code.
"ports/*/build*",
# gitignore in ports/unix ignores *.py, so also do it here.
"ports/unix/*.py",
"ports/unix/**/*.py",
# not real python files
"tests/**/repl_*.py",
# don't reindent this third-party code we vendored in