Skip to content

Commit

Permalink
TST: Dont run pre-commit-hooks on snapshots
Browse files Browse the repository at this point in the history
Snapshots are sensitive to us performing poor formatting for testing
purposes, so we need to preserve that.
  • Loading branch information
eivindjahren committed Sep 16, 2021
1 parent 87634d6 commit 7c1d6a3
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 @@ -4,7 +4,9 @@ repos:
rev: v3.2.0
hooks:
- id: trailing-whitespace
exclude: "snapshots/"
- id: mixed-line-ending
exclude: "snapshots/"

- repo: https://github.com/psf/black
rev: 20.8b1
Expand Down

0 comments on commit 7c1d6a3

Please sign in to comment.