Skip to content

Commit

Permalink
MRG: have ruff ignore ipynb so as to avoid triggering an error during…
Browse files Browse the repository at this point in the history
… CI (#3325)

ruff is reporting:
```
error: Failed to parse doc/sourmash-examples.ipynb:3:1:5: Expected an expression
157 files left unchanged

ruff.....................................................................Failed
- hook id: ruff
- exit code: 1

doc/sourmash-examples.ipynb:cell 5:1:5: SyntaxError: Expected an expression
  |
1 | ls *.sig
  |     ^
  |
```
and we don't really care ;)
  • Loading branch information
ctb authored Sep 16, 2024
1 parent 13d3859 commit cf1fdac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ macos-deployment-target = "10.14"
[tool.maturin.target.aarch64-apple-darwin]
macos-deployment-target = "11.0"

[tool.ruff]
extend-exclude = ["*.ipynb"]

[tool.ruff.lint]
extend-select = [
"UP", # pyupgrade
Expand Down

0 comments on commit cf1fdac

Please sign in to comment.