Skip to content

Commit

Permalink
Tell ruff to also check notebook files
Browse files Browse the repository at this point in the history
  • Loading branch information
jherland committed May 6, 2024
1 parent 892763b commit 17eae72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ cache_dir = "~/.cache/pytest"
# would lead to other rule violations. Use 100 as a maximum hard limit:
line-length = 100
target-version = "py37"
extend-include = ["*.ipynb"]
extend-exclude = [
"tests/sample_projects/legacy_encoding/big5.py", # Fails with E902 (not UTF-8)
]
Expand Down

0 comments on commit 17eae72

Please sign in to comment.