mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
system: prevent mypy from checking windows-related method (#5260)
* system: prevent mypy from checking windows-related method * Update dvc/system.py Co-authored-by: Saugat Pachhai <[email protected]> Co-authored-by: Saugat Pachhai <[email protected]>
This commit is contained in:
co-authored by
Saugat Pachhai
parent
f8200ca2b8
commit
2ee68b01b0
+1
-1
@@ -10,7 +10,7 @@ from dvc.exceptions import DvcException
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
if (
|
||||
platform.system() == "Windows"
|
||||
sys.platform == "win32"
|
||||
and sys.version_info < (3, 8)
|
||||
and sys.getwindowsversion() >= (6, 2)
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user