Skip to content

Commit

Permalink
demo pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdavis2 committed May 16, 2022
0 parents commit 67daeeb
Show file tree
Hide file tree
Showing 2 changed files with 1,388 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: check-yaml
# - id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
entry: bash -c 'black . && git add -u' --
- repo: https://github.com/surroundaustralia/clean_ttl_hook
rev: 03b4d9669bb7a5bdd296ebda804c5f18d6bd9b2c
hooks:
- id: clean_ttl
files: '.+\.ttl$'
Loading

0 comments on commit 67daeeb

Please sign in to comment.