mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 18:58:04 +00:00
Fix typo in configuration docs (#12655)
This commit is contained in:
parent
733341ab39
commit
9ee44637ca
1 changed files with 2 additions and 2 deletions
|
@ -189,7 +189,7 @@ As an example, the following would configure Ruff to:
|
|||
# 3. Avoid trying to fix flake8-bugbear (`B`) violations.
|
||||
unfixable = ["B"]
|
||||
|
||||
# 4. Ignore `E402` (import violations) in all `__init__.py` files, and in select subdirectories.
|
||||
# 4. Ignore `E402` (import violations) in all `__init__.py` files, and in selected subdirectories.
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
"__init__.py" = ["E402"]
|
||||
"**/{tests,docs,tools}/*" = ["E402"]
|
||||
|
@ -212,7 +212,7 @@ As an example, the following would configure Ruff to:
|
|||
# 3. Avoid trying to fix flake8-bugbear (`B`) violations.
|
||||
unfixable = ["B"]
|
||||
|
||||
# 4. Ignore `E402` (import violations) in all `__init__.py` files, and in select subdirectories.
|
||||
# 4. Ignore `E402` (import violations) in all `__init__.py` files, and in selected subdirectories.
|
||||
[lint.per-file-ignores]
|
||||
"__init__.py" = ["E402"]
|
||||
"**/{tests,docs,tools}/*" = ["E402"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue