Skip to content

Commit

Permalink
replace nbqa with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
gboeing committed Dec 19, 2024
1 parent e6a8efa commit 2c98c5b
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2c98c5b

Please sign in to comment.