spack/lib
Todd Gamblin 457ea43e95
windows: use sys.platform == "win32" instead of is_windows
`mypy` only understands `sys.platform == "win32"`, not indirect assignments of that
value to things like `is_windows`. If we don't use the accepted platform checks, `mypy`
registers many Windows-only symbols as not present on Linux, when it should skip the
checks for platform-specific code.
2023-02-23 12:18:10 -08:00
..
spack windows: use sys.platform == "win32" instead of is_windows 2023-02-23 12:18:10 -08:00