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 committed 2022-12-23 17:55:23 +02:00
1 parent 50dd603520
commit 5dd2287e68
1 file changed
+3
+3
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'
###########################################################################
###########################################################################