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:
parent
50dd603520
commit
5dd2287e68
@ -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'
|
||||
###########################################################################
|
||||
|
||||
###########################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user