mirror of
https://github.com/astral-sh/ruff
synced 2026-01-22 22:10:48 -05:00
📝 Update readme example for adding isort required imports (#1824)
Fixes use of isort name to the ruff name.
This commit is contained in:
@@ -133,7 +133,7 @@ pub struct Options {
|
||||
default = r#"[]"#,
|
||||
value_type = "Vec<String>",
|
||||
example = r#"
|
||||
add-import = ["from __future__ import annotations"]
|
||||
required-imports = ["from __future__ import annotations"]
|
||||
"#
|
||||
)]
|
||||
/// Add the specified import line to all files.
|
||||
|
||||
Reference in New Issue
Block a user