Skip to content

Commit

Permalink
Merge pull request #395 from instadeepai/fix/conventional-commit-pre-…
Browse files Browse the repository at this point in the history
…commit-hook

Bugfix: Fixed conventional commit pre-commit hook not running.
  • Loading branch information
AsadJeewa authored Feb 7, 2022
2 parents 0cc5e08 + 1253a4e commit cb6b4f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# pydocstyle: Checking docstring style.
# interrogate: Checks docstring code coverage.

default_stages: ["commit"]
default_stages: [commit]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Install the pre-commit hooks and testing dependencies:
```bash
pip install .[testing_formatting]
pre-commit install
pre-commit install -t commit-msg
```
You can run all the pre-commit hooks on all files as follows:
```bash
Expand Down

0 comments on commit cb6b4f9

Please sign in to comment.