Skip to content

Commit

Permalink
pre-commit: Ignore the data files for 'end-of-file-fixer'
Browse files Browse the repository at this point in the history
The files which contain wkt files should not have a new line,
otherwise they cannot be read.
  • Loading branch information
ptitjano committed Oct 24, 2024
1 parent 93efa89 commit ce23582
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ repos:
- id: check-yaml # checks yaml files for parseable syntax.
- id: detect-private-key # detects the presence of private keys.
- id: end-of-file-fixer # ensures that a file is either empty, or ends with one newline.
exclude: ^test/data
- id: fix-byte-order-marker # removes utf-8 byte order marker.
- id: mixed-line-ending # replaces or checks mixed line ending.
- id: requirements-txt-fixer # sorts entries in requirements.txt.
Expand Down

0 comments on commit ce23582

Please sign in to comment.