Skip to content

Commit

Permalink
Merge pull request #810 from pawelngei/bump-isort
Browse files Browse the repository at this point in the history
Place pre-commit `ruff` before `black` because of its `autofix`
  • Loading branch information
vitalik authored Aug 2, 2023
2 parents 8c7c5db + 8ad3bb5 commit 8bfe321
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ repos:
- id: mypy
additional_dependencies: ["django-stubs", "pydantic"]
exclude: (tests|docs)/
- repo: https://github.com/psf/black
rev: "23.1.0"
hooks:
- id: black
exclude: docs/src/
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.282
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/psf/black
rev: "23.1.0"
hooks:
- id: black
exclude: docs/src/

0 comments on commit 8bfe321

Please sign in to comment.