Skip to content

Commit

Permalink
Configure pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Toni-SM committed Nov 4, 2024
1 parent 88ac11f commit 3b6184d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ repos:
- id: end-of-file-fixer
- id: name-tests-test
args: ["--pytest-test-first"]
exclude: ^(tests/stategies.py|tests/utils.py)
- id: no-commit-to-branch
- id: trailing-whitespace
- repo: https://github.com/codespell-project/codespell
Expand All @@ -26,6 +27,8 @@ repos:
rev: 24.8.0
hooks:
- id: black
args: ["--line-length=120"]
exclude: ^(docs/|tests/)
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
Expand Down

0 comments on commit 3b6184d

Please sign in to comment.