mirror of
https://github.com/astral-sh/ruff
synced 2026-01-08 15:14:19 -05:00
Use tool.ruff.lint in more places (#8317)
## Summary As a follow-up of https://github.com/astral-sh/ruff/pull/7732, use `tool.ruff.lint` in more places in documentations, tests and internal usages.
This commit is contained in:
committed by
GitHub
parent
2f5734d1ac
commit
317b6e8682
@@ -9,6 +9,8 @@ line-length = 88
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 88
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["ALL"]
|
||||
ignore = [
|
||||
"C901", # McCabe complexity
|
||||
@@ -22,5 +24,5 @@ ignore = [
|
||||
"ANN401",
|
||||
]
|
||||
|
||||
[tool.ruff.isort]
|
||||
[tool.ruff.lint.isort]
|
||||
required-imports = ["from __future__ import annotations"]
|
||||
|
||||
Reference in New Issue
Block a user