Skip to content

Commit

Permalink
Add pre-comit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
f-hollow committed Apr 8, 2024
1 parent ae3f62a commit 857b8e4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ This repo contains some workflows to update README.
| One | Two | Three |

<!-- END ./tables/table.md -->

## References

- [Hooks](https://pre-commit.com/hoos.html)
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pre-commit

0 comments on commit 857b8e4

Please sign in to comment.