Skip to content

Commit b2afe0f

Browse files
committed
MAINT: ignore "from module import *" lint errors in the tutorial
(recent ruff versions now lint jupyter notebooks)
1 parent ce03b05 commit b2afe0f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,7 @@ ignore = []
6767
# fixable = ["A", "B", "C", "D", "E", "F", "..."]
6868
# unfixable = []
6969

70-
per-file-ignores = {}
70+
[tool.ruff.lint.per-file-ignores]
71+
# F403 `from larray import *` used; unable to detect undefined names
72+
# F405 `abc` may be undefined, or defined from star imports
73+
"doc/source/tutorial/*.ipynb" = ["F403", "F405"]

0 commit comments

Comments
 (0)