Enable Ruff's pygrep-hooks checks

This commit is contained in:
Adam Turner
2022-12-29 23:39:39 +00:00
parent 6a132eba5a
commit b89c33fc0a
4 changed files with 7 additions and 4 deletions

View File

@@ -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]