ruff/crates/ruff_linter/resources/test/fixtures/flake8_simplify/SIM220.py

18 lines
154 B
Python

if a and not a:
pass
if (a and not a) and b:
pass
if (a and not a) or b:
pass
if a:
pass
if not a:
pass
if a and not b:
pass