Skip to content

Commit

Permalink
chore(precommit): setup precommit (#149)
Browse files Browse the repository at this point in the history
* chore(precommit): setup precommit

* chore(precommit): setup precommit

* chore(precommit): setup precommit

* chore(precommit): update readme
  • Loading branch information
GitLukeW authored Oct 1, 2023
1 parent 50c28da commit 4439dfc
Show file tree
Hide file tree
Showing 6 changed files with 629 additions and 410 deletions.
14 changes: 14 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
repos:
- repo: local
hooks:
- id: branch-name-lint
name: 'Branch Name Lint'
entry: ./scripts/branch-name-lint.sh
language: script
always_run: true
pass_filenames: false
- id: commit-msg-lint
name: 'Commit Message Lint'
entry: ./scripts/commit-msg-lint.sh
language: script
stages: [commit-msg]
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ redis = "*"
coverage = "*"
celery = "*"
django-celery-beat = "*"
pre-commit = "*"

[dev-packages]
autopep8 = "*"
Expand Down
Loading

0 comments on commit 4439dfc

Please sign in to comment.