We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2de95c commit 498fd23Copy full SHA for 498fd23
1209/2779/0776/index.md 1209/2779/index.md1209/2779/0776/index.md renamed to 1209/2779/index.md
1209/CM20/index.rm 1209/CA20/index.md1209/CM20/index.rm renamed to 1209/CA20/index.md
test/validate_pids.py
@@ -15,10 +15,20 @@
15
16
ok = True
17
18
+for index in vid_1209.glob("*/*"):
19
+ if index.name != "index.md":
20
+ ok = False
21
+ print("Invalid file:", index)
22
+
23
for pid in vid_1209.iterdir():
24
pid = pid.name
25
if pid == "index.md":
26
continue
27
+ try:
28
+ int(pid, 16)
29
+ except ValueError:
30
31
+ print("PID " + pid + " not valid hex. Must be 4 characters 0-9 or A-F.")
32
if pid.upper() != pid:
33
ok = False
34
print("PID must be upper case:", pid)
0 commit comments