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:
Mathieu Kniewallner
2023-10-29 01:39:38 +02:00
committed by GitHub
parent 2f5734d1ac
commit 317b6e8682
11 changed files with 60 additions and 45 deletions

View File

@@ -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"]