Skip to content

Commit

Permalink
Add pyupgrade and ruff pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
bwt-sloanj committed Sep 24, 2024
1 parent f9251b6 commit 2aa1309
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,19 @@ repos:
args: [--unittest]
- id: requirements-txt-fixer

- repo: https://github.com/asottile/pyupgrade
rev: v3.17.0
hooks:
- id: pyupgrade
args: ["--py310-plus"]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.7
hooks:
# Run the linter.
- id: ruff
args: ["--fix"]

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.9.1
hooks:
Expand Down

0 comments on commit 2aa1309

Please sign in to comment.