mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 06:11:43 +00:00

## 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.
28 lines
504 B
TOML
28 lines
504 B
TOML
[project]
|
|
name = "scripts"
|
|
version = "0.0.1"
|
|
dependencies = ["sphinx"]
|
|
requires-python = ">=3.8"
|
|
|
|
[tool.black]
|
|
line-length = 88
|
|
|
|
[tool.ruff]
|
|
line-length = 88
|
|
|
|
[tool.ruff.lint]
|
|
select = ["ALL"]
|
|
ignore = [
|
|
"C901", # McCabe complexity
|
|
"D", # pydocstyle
|
|
"PL", # pylint
|
|
"S", # bandit
|
|
"G", # flake8-logging
|
|
"T", # flake8-print
|
|
"FBT", # flake8-boolean-trap
|
|
"PERF", # perflint
|
|
"ANN401",
|
|
]
|
|
|
|
[tool.ruff.lint.isort]
|
|
required-imports = ["from __future__ import annotations"]
|