We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 68ac4d3 + 4c000de commit 33be2b6Copy full SHA for 33be2b6
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
org/Calliope/index.rm org/Calliope/index.mdorg/Calliope/index.rm renamed to org/Calliope/index.md
test/validate_pids.py
@@ -15,10 +15,26 @@
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
24
+for index in Path("org").glob("*/*"):
25
26
27
28
29
for pid in vid_1209.iterdir():
30
pid = pid.name
31
if pid == "index.md":
32
continue
33
+ try:
34
+ int(pid, 16)
35
+ except ValueError:
36
37
+ print("PID " + pid + " not valid hex. Must be 4 characters 0-9 or A-F.")
38
if pid.upper() != pid:
39
ok = False
40
print("PID must be upper case:", pid)
0 commit comments