mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-25 05:53:51 +00:00
Fix name of rule in example of extend-per-file-ignores
in options.rs (#6417)
<!-- Thank you for contributing to Ruff! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary <!-- What's the purpose of the change? What does it do, and why? --> Fix name of rule in example of `extend-per-file-ignores` in `options.rs` file. It was `E401` but in configuration example `E402` was listed. Just a tiny mismatch. ## Test Plan <!-- How was it tested? --> Just by my eyes :).
This commit is contained in:
parent
90ba40c23c
commit
6aefe71c56
1 changed files with 1 additions and 1 deletions
|
@ -596,7 +596,7 @@ pub struct Options {
|
|||
default = "{}",
|
||||
value_type = "dict[str, list[RuleSelector]]",
|
||||
example = r#"
|
||||
# Also ignore `E401` in all `__init__.py` files.
|
||||
# Also ignore `E402` in all `__init__.py` files.
|
||||
[tool.ruff.extend-per-file-ignores]
|
||||
"__init__.py" = ["E402"]
|
||||
"#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue