Skip to content

Commit f242120

Browse files
Enforce ruff/pygrep-hooks rule (PGH)
1 parent 35c75b5 commit f242120

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

+2
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ ignore = [
165165
"B020",
166166
"B904", # Ruff enables opinionated warnings by default
167167
"B905", # Ruff enables opinionated warnings by default
168+
"PGH003", # TODO: enable
168169
"PYI019", # TODO: enable
169170
"PYI024",
170171
"RUF001",
@@ -183,6 +184,7 @@ select = [
183184
"I",
184185
"ISC",
185186
"PERF",
187+
"PGH",
186188
"PIE",
187189
"PLE",
188190
"PLR0",

0 commit comments

Comments
 (0)