Skip to content

Commit

Permalink
Update to ruff 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wence- committed Nov 27, 2024
1 parent b2cfb9c commit edaf904
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ repos:
^CHANGELOG.md$
)
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.8
rev: v0.8.0
hooks:
- id: ruff
args: ["--fix"]
Expand Down
12 changes: 10 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,16 @@ ignore = [
]
fixable = ["ALL"]
exclude = [
# TODO: Remove this in a follow-up where we fix __all__.
"__init__.py",
# TODO: Remove this in a follow-up where we fix __all__.
"__init__.py",
# TODO: https://github.com/rapidsai/cudf/issues/17461
"**/*.ipynb",
]

[tool.ruff.format]
exclude = [
# TODO: https://github.com/rapidsai/cudf/issues/17461
"**/*.ipynb",
]

[tool.ruff.lint.per-file-ignores]
Expand Down

0 comments on commit edaf904

Please sign in to comment.