1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-15 08:40:34 +03:00

build: add "dumb" platform check for mypy

Mypy doesn't understand some clever version checks. This adds an
otherwise un-needed assert to force mypy to ignore the file on linux
This commit is contained in:
A_D 2022-12-23 17:55:23 +02:00
parent 50dd603520
commit 5dd2287e68
No known key found for this signature in database
GPG Key ID: 4BE9EB7DF45076C4

View File

@ -28,6 +28,9 @@ if sys.platform == 'win32':
else:
raise AssertionError(f'Unsupported platform {sys.platform}')
# This added to make mypy happy
assert sys.platform == 'win32'
###########################################################################
###########################################################################