mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Enable Ruff's pygrep-hooks checks
This commit is contained in:
@@ -157,6 +157,8 @@ ignore = [
|
||||
# flake8-bugbear opinionated (disabled by default in flake8)
|
||||
'B904',
|
||||
'B905',
|
||||
# pygrep-hooks
|
||||
"PGH003",
|
||||
]
|
||||
external = [ # Whitelist for RUF100 unkown code warnings
|
||||
"E704",
|
||||
@@ -170,8 +172,9 @@ select = [
|
||||
# plugins:
|
||||
"B", # flake8-bugbear
|
||||
"C4", # flake8-comprehensions
|
||||
"PGH", # pygrep-hooks
|
||||
"SIM", # flake8-simplify
|
||||
"RUF100" # yesqa
|
||||
"RUF100", # yesqa
|
||||
]
|
||||
|
||||
[tool.ruff.per-file-ignores]
|
||||
|
||||
Reference in New Issue
Block a user