Skip to content

Commit 7346a35

Browse files
authored
Make ruff ignore sphinx-gallery builds (#576)
The gallery builds Python scripts that don't always follow Ruff's style rules but they aren't really used in the final docs. Ruff checks the original gallery source code but it shouldn't these build products. Ignore them in the configuration.
1 parent 4a4668e commit 7346a35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ notice = '''
7878
line-length = 88
7979
exclude = [
8080
"doc/_build",
81+
"doc/gallery",
8182
"src/choclo/_version.py",
8283
]
8384

0 commit comments

Comments
 (0)