scripts/eddn-errors: EDMC - two fsssignaldiscovered issues

This commit is contained in:
Athanasius 2022-06-19 10:37:20 +00:00
parent 159c02caf1
commit 83a7d451ef

View File

@ -91,6 +91,19 @@ def process_file(input_file: str) -> None:
elif matches.group('software_name').startswith('E:D Market Connector'):
# https://github.com/EDCD/EDMarketConnector/releases/latest
if software_version >= semantic_version.Version.coerce('5.4.1'):
if matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/fsssignaldiscovered/1':
if matches.group('err_msg') == 'Failed Validation "[<ValidationError: \'[] is too short\'>]"':
# <https://github.com/EDCD/EDMarketConnector/issues/1598>
pass
elif matches.group('err_msg') == 'Failed Validation "[<ValidationError: "None is not of type \'string\'">]"':
# <https://github.com/EDCD/EDMarketConnector/issues/1599>
pass
else:
print(line)
else:
print(line)
elif matches.group('software_name') == 'Elite G19s Companion App':