mirror of https://github.com/astral-sh/ruff
Add caveat around action comments within docstrings (#8432)
Closes https://github.com/astral-sh/ruff/issues/8417.
This commit is contained in:
parent
df4dc040de
commit
ab6bf50a2d
|
|
@ -277,6 +277,8 @@ Ruff will also respect variants of these action comments with a `# ruff:` prefix
|
||||||
convey that the action comment is intended for Ruff, but are functionally equivalent to the
|
convey that the action comment is intended for Ruff, but are functionally equivalent to the
|
||||||
isort variants.
|
isort variants.
|
||||||
|
|
||||||
|
Unlike isort, Ruff does not respect action comments within docstrings.
|
||||||
|
|
||||||
See the [isort documentation](https://pycqa.github.io/isort/docs/configuration/action_comments.html)
|
See the [isort documentation](https://pycqa.github.io/isort/docs/configuration/action_comments.html)
|
||||||
for more.
|
for more.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue