summaryrefslogtreecommitdiffstatshomepage
path: root/tools/codeformat.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/codeformat.py')
-rwxr-xr-xtools/codeformat.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/codeformat.py b/tools/codeformat.py
index dba00fafd7..0a8bf2e0f4 100755
--- a/tools/codeformat.py
+++ b/tools/codeformat.py
@@ -50,6 +50,7 @@ PATHS = [
"ports/**/*.py",
"py/**/*.py",
"tools/**/*.py",
+ "tests/**/*.py",
]
EXCLUSIONS = [
@@ -57,6 +58,10 @@ EXCLUSIONS = [
"ports/*/build*",
# gitignore in ports/unix ignores *.py, so also do it here.
"ports/unix/*.py",
+ # not real python files
+ "tests/**/repl_*.py",
+ # needs careful attention before applying automatic formatting
+ "tests/basics/*.py",
]
# Path to repo top-level dir.