Skip to content

Commit

Permalink
Merge pull request #29 from AFM-SPM/ns-rse/pre-commit-hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
ns-rse authored Dec 27, 2023
2 parents 7027318 + 8738f35 commit 79a1786
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ repos:
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
types: [python]
- id: fix-byte-order-marker
- id: name-tests-test
args: ["--pytest-test-first"]
- id: no-commit-to-branch # Protects main/master by default
- id: requirements-txt-fixer
- id: trailing-whitespace
types: [python, yaml, markdown]
Expand All @@ -35,8 +37,8 @@ repos:
- id: ruff
args: [ --fix, --exit-non-zero-on-fix ]

- repo: https://github.com/psf/black
rev: 23.12.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.12.1
hooks:
- id: black
types: [python]
Expand Down

0 comments on commit 79a1786

Please sign in to comment.