mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-10-31 01:32:11 +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:
1 file changed
+3
@@ -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'
|
||||
###########################################################################
|
||||
|
||||
###########################################################################
|
||||
|
||||
Reference in new issue
Block a user