Skip to content

Commit 66085e2

Browse files
committed
Revert "Add ignoring not having windll to mypy"
This reverts commit 55c7fcfd61e0391287e2717117da4fca03b77dec.
1 parent 4d3c9b7 commit 66085e2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
pytest==4.2.0
33
pytest-asyncio==0.10.0
44
pytest-mock==1.10.3
5-
pytest-mypy==0.3.2
5+
pytest-mypy==0.4.1
66
pytest-flakes==4.0.0
77
# because of pip bug https://github.com/pypa/pip/issues/4780
88
aiohttp==3.5.4

src/galaxy/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__path__: str = __import__('pkgutil').extend_path(__path__, __name__)
1+
__path__: str = __import__('pkgutil').extend_path(__path__, __name__) # type: ignore

src/galaxy/registry_monitor.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import platform
2-
if platform.system().lower() == "windows":
1+
import sys
2+
if sys.platform == "win32":
33
import logging
44
import ctypes
55
from ctypes.wintypes import LONG, HKEY, LPCWSTR, DWORD, BOOL, HANDLE, LPVOID

0 commit comments

Comments
 (0)