trans lint: PNG instead of PGN
parent
ea3776175e
commit
ad13414fbe
|
@ -104,6 +104,9 @@ def lint_string(path, el, name, dest, source, allow_missing=0):
|
|||
#elif pattern not in m_source and pattern in m_dest:
|
||||
# print(notice(path, el, f"unexpected {pattern}: {name} {dest}"))
|
||||
|
||||
if "PGN" in source and "PNG" in dest:
|
||||
print(error(path, el, f"PNG instead of PGN: {name} {dest}"))
|
||||
|
||||
if "\n" not in source and "\n" in dest:
|
||||
print(notice(path, el, f"expected single line string: {name} {dest}"))
|
||||
|
||||
|
|
Loading…
Reference in New Issue