Skip to content

Commit

Permalink
DEV: Set some pre-commit hooks to only run on .txt and .py files
Browse files Browse the repository at this point in the history
  • Loading branch information
nstelter-slac committed Sep 8, 2023
1 parent 62cb9ff commit f12f23c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ repos:
rev: v4.4.0
hooks:
- id: end-of-file-fixer
files: '\.(py|txt)$' # Only run on .py and .txt files
- id: trailing-whitespace
files: '\.(py|txt)$' # Only run on .py and .txt files
- repo: https://github.com/psf/black
rev: 23.7.0
hooks:
Expand Down

0 comments on commit f12f23c

Please sign in to comment.