Keep the place tool's venv out of the validator's file-size walk

This commit is contained in:
swaits committed 2026-11-20 10:20:10 -07:00
1 parent d432d6a296
commit c29f9370fe
1 file changed
+1 -1
+1 -1
View File
@@ -945,7 +945,7 @@ def main():
if ".git" in dirpath:
dirnames[:] = []
continue
dirnames[:] = [d for d in dirnames if d != ".git"]
dirnames[:] = [d for d in dirnames if d not in (".git", ".venv-places")]
for fn in filenames:
path = os.path.join(dirpath, fn)
if os.path.getsize(path) > MAX_BYTES: