Skip to content

Commit d0b2527

Browse files
committed
only ban matplotlib in the core library
1 parent d1d65ee commit d0b2527

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,11 @@ ignore = [
165165
# don't allow implicit string concatenation
166166
flake8-implicit-str-concat = {"allow-multiline" = false}
167167

168-
# disallow things that have caused problems
168+
# ban debug and usually-a-bug imports in `trimesh` core library
169+
[tool.ruff.lint.per-file-ignores]
170+
"examples/*" = ["TID251"]
171+
"tests/*" = ["TID251"]
172+
169173
[tool.ruff.lint.flake8-tidy-imports.banned-api]
170174
"IPython.embed".msg = "you forgot to remove a debug embed ;)"
171175
"matplotlib".msg = "you forgot to remove a debug plot"

0 commit comments

Comments
 (0)