mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 02:12:22 +00:00
30 lines
524 B
TOML
30 lines
524 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 = [
|
|
"E", # pycodestyle (error)
|
|
"F", # pyflakes
|
|
"B", # bugbear
|
|
"B9",
|
|
"C4", # flake8-comprehensions
|
|
"SIM", # flake8-simplify
|
|
"I", # isort
|
|
"UP", # pyupgrade
|
|
"PIE", # flake8-pie
|
|
"PGH", # pygrep-hooks
|
|
"PYI", # flake8-pyi
|
|
"RUF",
|
|
]
|
|
|
|
[tool.ruff.lint.isort]
|
|
required-imports = ["from __future__ import annotations"]
|