mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-31 07:38:00 +00:00
Fix outdated description of ruff's support of isort settings (#2106)
Ruff supports more than `known-first-party`, `known-third-party`, `extra-standard-library`, and `src` nowadays. Not sure if this is the best wording. Suggestions welcome!
This commit is contained in:
parent
8c61e8a1ef
commit
c5cebb106e
1 changed files with 3 additions and 2 deletions
|
@ -1643,8 +1643,9 @@ Ruff's import sorting is intended to be nearly equivalent to `isort` when used `
|
|||
|
||||
Like `isort`, Ruff's import sorting is compatible with Black.
|
||||
|
||||
Ruff is less configurable than `isort`, but supports the `known-first-party`, `known-third-party`,
|
||||
`extra-standard-library`, and `src` settings, like so:
|
||||
Ruff does not yet support all of `isort`'s configuration options, though it does support many of
|
||||
them. You can find the supported settings in the [API reference](#isort). For example, you can set
|
||||
`known-first-party` like so:
|
||||
|
||||
```toml
|
||||
[tool.ruff]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue