Skip to content

Commit

Permalink
added sphinx exceptions to ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
BenJourdan committed Oct 11, 2024
1 parent 26d590e commit fbe331a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Configuration file for the Sphinx documentation builder.
import os
import sys

sys.path.insert(0, os.path.abspath('..'))

#
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ features = ["pyo3/extension-module"]
line-length = 88 # Match Black's default line length
lint.select = ["E", "F", "I", "A"] # Choose what linting categories to apply
lint.ignore = ["E501"] # Ignore specific rules, e.g., E501 (line too long)
lint.fixable = ["F401", "I"] # Define fixable errors like unused imports and import sorting
lint.fixable = ["F401", "I"] # Define fixable errors like unused imports and import sorting
lint.per-file-ignores = { "docs/conf.py" = ["A001"] }

0 comments on commit fbe331a

Please sign in to comment.