Skip to content

Commit 7afbc9a

Browse files
authored
Merge pull request #170 from scipp/switch-to-ruff
Disable domain-type-related ruff rules in notebooks
2 parents adbddce + 6596394 commit 7afbc9a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

template/pyproject.toml.jinja

+2
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ pydocstyle.convention = "numpy"
8383
]
8484
"*.ipynb" = [
8585
"E501", # longer lines are sometimes more readable
86+
"F403", # *-imports used with domain types
87+
"F405", # linter may fail to find names because of *-imports
8688
"I", # we don't collect imports at the top
8789
"S101", # asserts are used for demonstration and are safe in notebooks
8890
"T201", # printing is ok for demonstration purposes

0 commit comments

Comments
 (0)