Add asterisk check to check-signatures-format.py
This commit is contained in:
parent
cbe2dd8830
commit
ae92b15dfe
|
@ -1,2 +1,2 @@
|
||||||
name: The Quantum Alpha (*Private*)
|
name: The Quantum Alpha (Private)
|
||||||
link: https://gitlab.com/The_Quantum_Alpha
|
link: https://gitlab.com/The_Quantum_Alpha
|
||||||
|
|
|
@ -75,6 +75,9 @@ for file_name in sorted(os.listdir("_data/signed")):
|
||||||
report(f"{file_name} contains an empty '{key}:' on line {i + 1}, please fix this.")
|
report(f"{file_name} contains an empty '{key}:' on line {i + 1}, please fix this.")
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if "*" in value:
|
||||||
|
report(f"{file_name} contains an asterisk on line {i + 1}. The signatures are not rendered as Markdown, so formatting won't work. Please remove the asterisk.")
|
||||||
|
|
||||||
if key.lower() in existing_keys:
|
if key.lower() in existing_keys:
|
||||||
report(f"{file_name} contains duplicate key '{key}'.")
|
report(f"{file_name} contains duplicate key '{key}'.")
|
||||||
existing_keys[key.lower()] = i
|
existing_keys[key.lower()] = i
|
||||||
|
|
Loading…
Reference in New Issue