Skip to content

Commit b5fe537

Browse files
author
Taher Chegini
committed
MNT: Ignore ruff error for specifying the failed rule. [skip ci]
1 parent 61c3905 commit b5fe537

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

pyproject.toml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@ extend-immutable-calls = [
168168
convention = "numpy"
169169

170170
[tool.ruff.per-file-ignores]
171+
"py3dep/py3dep.py" = [
172+
# specific type error ignored
173+
"PGH003",
174+
]
171175
"tests/*.py" = [
172176
"D100",
173177
"D101",
@@ -179,14 +183,8 @@ convention = "numpy"
179183
"D107",
180184
# use of "assert"
181185
"S101",
182-
# use of "exec"
183-
"S102",
184-
# possible hardcoded password
185-
"S106",
186-
# use of "eval"
187-
"PGH001",
188-
# Mutable class attributes
189-
"RUF012",
186+
# specific type error ignored
187+
"PGH003",
190188
]
191189

192190
[tool.ruff.isort]

0 commit comments

Comments
 (0)