From 7d9c1d7a5a79a0ad645366c5a94e4e8974d8e71b Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Mon, 23 Jan 2023 12:32:30 -0500 Subject: [PATCH] Add a note on some isort incompatibilities --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f25a769e9c..1b93d32429 100644 --- a/README.md +++ b/README.md @@ -1639,7 +1639,9 @@ project. See [#283](https://github.com/charliermarsh/ruff/issues/283) for more. ### How does Ruff's import sorting compare to [`isort`](https://pypi.org/project/isort/)? Ruff's import sorting is intended to be nearly equivalent to `isort` when used `profile = "black"`. -(There are some minor differences in how Ruff and isort break ties between similar imports.) +There are a few known, minor differences in how Ruff and isort break ties between similar imports, +and in how Ruff and isort treat inline comments in some cases (see: [#1381](https://github.com/charliermarsh/ruff/issues/1381), +[#2104](https://github.com/charliermarsh/ruff/issues/2104)). Like `isort`, Ruff's import sorting is compatible with Black.