Skip to content

Commit

Permalink
use ruff to format notebooks too
Browse files Browse the repository at this point in the history
  • Loading branch information
harrisonpim committed Nov 20, 2023
1 parent 8c569db commit 8b435e2
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ repos:
- id: check-json
- id: detect-aws-credentials
args: [ --allow-missing-credentials ]
- repo: https://github.com/ambv/black
rev: 23.1.0
hooks:
- id: black-jupyter
language_version: python3
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.246'
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.6
hooks:
- id: ruff
types_or: [ python, jupyter ]
args: [ --fix ]
- id: ruff-format
types_or: [ python, jupyter ]
- repo: local
hooks:
- id: pyright
Expand Down

0 comments on commit 8b435e2

Please sign in to comment.