Skip to content

Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.

check_public_email: report paths with '/' on Windows too (its self-test failed on CI Windows in the 0.11.12 staging)

islandmed2cf6dd7430b8
diff --git a/tools/check_public_email.py b/tools/check_public_email.py
index 17a0a593..ce2aa565 100644
--- a/tools/check_public_email.py
+++ b/tools/check_public_email.py
@@ -30,7 +30,8 @@ def scan(root):
with open(p, encoding='utf-8', errors='replace') as fh:
for n, line in enumerate(fh, 1):
for m in BAD.finditer(line):
- hits.append(f'{os.path.relpath(p, root)}:{n}: {line[max(0, m.start() - 30):m.end() + 10].strip()}')
+ rel = os.path.relpath(p, root).replace(os.sep, '/') # (Windows: the same names as elsewhere)
+ hits.append(f'{rel}:{n}: {line[max(0, m.start() - 30):m.end() + 10].strip()}')
return hits