Skip to content

Commit

Permalink
Numpy v2.0 ruff linting (#512)
Browse files Browse the repository at this point in the history
* Update pyproject.toml

* migrate to new official ruff action
  • Loading branch information
waltsims authored Nov 20, 2024
1 parent d5d0160 commit bb57cc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ jobs:
continue-on-error: true
steps:
- uses: actions/checkout@v3
- uses: chartboost/ruff-action@v1
- uses: astral-sh/ruff-action@v1
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ omit = [
line-length = 140
# F821 needed to avoid false-positives in nested functions, F722 due to jaxtyping
lint.ignore = ["F821", "F722"]
lint.select = ["NPY201"]
[tool.ruff.lint.per-file-ignores]
# ksource.py contains a lot of non-ported Matlab code that is not usable.
"kwave/ksource.py" = ["F821"]
Expand Down

0 comments on commit bb57cc4

Please sign in to comment.