Skip to content

Commit

Permalink
Setup ruff (from astral-sh) pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed May 12, 2024
1 parent ab773cc commit e975685
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ repos:
- id: destroyed-symlinks
- id: mixed-line-ending

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.4
hooks:
- id: ruff
args: [ --fix ]
- id: ruff-format

- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
Expand Down

0 comments on commit e975685

Please sign in to comment.