mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-01 09:22:19 +00:00
![renovate[bot]](/assets/img/avatar_default.png)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
36 lines
671 B
TOML
36 lines
671 B
TOML
[project]
|
|
name = "scripts"
|
|
version = "0.0.1"
|
|
dependencies = ["stdlibs"]
|
|
requires-python = ">=3.11"
|
|
|
|
[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",
|
|
]
|
|
|
|
ignore = [
|
|
# only relevant if you run a script with `python -0`,
|
|
# which seems unlikely for any of the scripts in this directory
|
|
"B011"
|
|
]
|
|
|
|
[tool.ruff.lint.isort]
|
|
required-imports = ["from __future__ import annotations"]
|