Skip to content

Commit 81fa662

Browse files
encukouhugovk
andauthored
Update Doc/.ruff.toml
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent ac992ee commit 81fa662

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/.ruff.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ select = [
3030
]
3131
ignore = [
3232
"E501", # Ignore line length errors (we use auto-formatting)
33-
"I001", # Import block is un-sorted or un-formatted
3433
]
3534

35+
[lint.per-file-ignores]
36+
"Doc/tools/check-html-ids.py" = ["I001"] # Unsorted imports
3637
[format]
3738
preview = true
3839
quote-style = "preserve"

0 commit comments

Comments
 (0)