You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If my target-version is py37, I expect the code block guarded by sys.version_info < (3, 7) to be dropped but it isn't.
It gets dropped for py38, though.
If my
target-version
ispy37
, I expect the code block guarded bysys.version_info < (3, 7)
to be dropped but it isn't.It gets dropped for
py38
, though.A minimal code snippet that reproduces the bug.
The command you invoked (e.g.,
ruff /path/to/file.py --fix
), ideally including the--isolated
flag.The current Ruff settings (any relevant sections from your
pyproject.toml
).The current Ruff version (
ruff --version
)The text was updated successfully, but these errors were encountered: