diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d99b74506e4..b4064126422 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -44,10 +44,12 @@ repos: - repo: https://github.com/nbQA-dev/nbQA rev: 1.9.1 hooks: - - id: nbqa-isort - # Use the cudf_kafka isort orderings in notebooks so that dask - # and RAPIDS packages have their own sections. - args: ["--settings-file=python/cudf_kafka/pyproject.toml"] + - id: nbqa-ruff + additional_dependencies: ["ruff"] + args: [ + "--fix-only", + "--select=I", + ] - repo: https://github.com/pre-commit/mirrors-clang-format rev: v16.0.6 hooks: