diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f993e14..c346ef7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,18 +15,13 @@ repos: args: [--branch, main] - id: trailing-whitespace - - repo: https://github.com/nbQA-dev/nbQA - rev: "1.9.1" + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: "v0.8.2" hooks: - - id: nbqa-isort - additional_dependencies: [isort] - args: [--line-length=100, --sl] - - id: nbqa-black - additional_dependencies: [black] + - id: ruff + args: [--fix] + - id: ruff-format args: [--line-length=100] - - id: nbqa-flake8 - additional_dependencies: [flake8] - args: [--max-line-length=100] - repo: local hooks: