mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-24 13:33:50 +00:00

* Add script for ecosystem wide checks of all rules and fixes This adds my personal script for checking an entire checkout of ~2.1k packages for panics, autofix errors and similar problems. It's not really meant to be used by anybody else but i thought it's better if it lives in the repo than if it doesn't. For reference, this is the current output of failing autofixes: https://gist.github.com/konstin/c3fada0135af6cacec74f166adf87a00. Trimmed down to the useful information: https://gist.github.com/konstin/c864f4c300c7903a24fdda49635c5da9 * Keep github template intact * Remove the need for ripgrep * sort output
24 lines
416 B
TOML
24 lines
416 B
TOML
[project]
|
|
name = "scripts"
|
|
version = "0.0.1"
|
|
dependencies = ["sphinx"]
|
|
requires-python = ">=3.9"
|
|
|
|
[tool.black]
|
|
line-length = 88
|
|
|
|
[tool.ruff]
|
|
line-length = 88
|
|
select = ["ALL"]
|
|
ignore = [
|
|
"C901", # McCabe complexity
|
|
"D", # pydocstyle
|
|
"PL", # pylint
|
|
"S", # bandit
|
|
"G", # flake8-logging
|
|
"T", # flake8-print
|
|
"FBT", # flake8-boolean-trap
|
|
]
|
|
|
|
[tool.ruff.pydocstyle]
|
|
convention = "pep257"
|