Skip to content

Commit

Permalink
add pre-commit hooks
Browse files Browse the repository at this point in the history
- trailing-whitespace
- end-of-file-fixer
  • Loading branch information
jimustafa committed Jun 1, 2019
1 parent 280f382 commit d343830
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.3
hooks:
- id: trailing-whitespace
files: (?x)^(
config/make[.]inc[.\w]*|
examples/example\d\d[-]?\w*/.+win
)$
- id: end-of-file-fixer
files: (?x)^(
config/make[.]inc[.\w]*|
examples/example\d\d[-]?\w*/.+win
)$
- repo: git://github.com/pseewald/fprettify
sha: v0.3.3
hooks:
Expand All @@ -8,4 +21,3 @@
)$
verbose: true
entry: ./test-suite/tools/fprettify-wrapper.py

0 comments on commit d343830

Please sign in to comment.