Skip to content

Commit

Permalink
feat(CI): add default_install_hook_types to pre-commit config to inst…
Browse files Browse the repository at this point in the history
…all commit-msg type hooks by default
  • Loading branch information
MagneticNeedle committed Jul 6, 2023
1 parent 06d7e00 commit 898324b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
default_install_hook_types: [pre-commit, commit-msg]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
rev: v4.4.0
hooks:
- id: check-toml
- id: check-yaml
Expand All @@ -9,7 +10,7 @@ repos:
args: [--markdown-linebreak-ext=md]

- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.5.1
rev: v1.10.0
hooks:
- id: python-check-blanket-noqa

Expand All @@ -19,18 +20,18 @@ repos:
- id: isort

- repo: https://github.com/psf/black
rev: 22.6.0
rev: 23.3.0
hooks:
- id: black

- repo: https://github.com/pycqa/flake8
rev: 4.0.1
rev: 6.0.0
hooks:
- id: flake8
additional_dependencies:
- flake8-docstrings~=1.6.0

- repo: https://github.com/p0lygun/commit-msg-validator
rev: v1.1.0
rev: v1.2.0
hooks:
- id: check-commit-msg

0 comments on commit 898324b

Please sign in to comment.