spack/var/spack/repos
Todd Gamblin 42a02411b4
windows: use sys.platform == "win32" instead of is_windows (#35640)
`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-03-05 07:58:05 -08:00
..
builder.test
builtin windows: use sys.platform == "win32" instead of is_windows (#35640) 2023-03-05 07:58:05 -08:00
builtin.mock windows: use sys.platform == "win32" instead of is_windows (#35640) 2023-03-05 07:58:05 -08:00
tutorial Style: black 23, skip magic trailing comma (#35351) 2023-02-16 23:06:12 -06:00