Skip to content

Commit

Permalink
chore: switch to ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Dec 11, 2024
1 parent 667c585 commit a07b075
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,7 @@ repos:
rev: v3.19.0
hooks:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black
args: [--py39-plus]
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
Expand All @@ -64,3 +56,18 @@ repos:
hooks:
- id: bandit
args: [-x, tests]
- repo: https://github.com/python-poetry/poetry
rev: 1.8.0
hooks:
- id: poetry-check
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: prettier
args: ["--tab-width", "2"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.2
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format

0 comments on commit a07b075

Please sign in to comment.