ruff/crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI007.py
2023-09-20 08:38:27 +02:00

11 lines
219 B
Python

import sys
if sys.platform == "platform_name_1": ... # OK
if sys.platform != "platform_name_2": ... # OK
if sys.platform in ["linux"]: ... # OK
if sys.platform > 3: ... # OK
if sys.platform == 10.12: ... # OK