E701 is not listed on the "Conflicting lint rules" page but it conflicts with ruff format
when --preview
flag is used
#8496
Labels
documentation
Improvements or additions to documentation
The original code
Steps to reproduce
ruff format --isolated --preview sample.py
moves ellipsis:and now
ruff --isolated --fix --preview sample.py
will complain about:
and ellipsis on a same line:Expected behavior
No conflicts between
ruff check
andruff format
.Versions
Related
In the comment a developer assumed that
E701
is not conflicting https://github.com/astral-sh/ruff/pull/8088/files#r1366486452The text was updated successfully, but these errors were encountered: