diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7e98067..cfa290a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,20 +1,21 @@ +# See https://pre-commit.com for more information +# See https://pre-commit.com/hooks.html for more hooks repos: -- hooks: - - id: trailing-whitespace - - id: end-of-file-fixer - - id: check-yaml - - id: check-added-large-files - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.2.0 -- hooks: - - id: fmt - - id: cargo-check - repo: https://github.com/FeryET/pre-commit-rust - rev: v1.1.0 -- hooks: - - id: commitizen - - id: commitizen-branch - stages: - - push - repo: https://github.com/commitizen-tools/commitizen - rev: master +- 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 +- repo: https://github.com/FeryET/pre-commit-rust + rev: v1.1.0 + hooks: + - id: fmt + - id: cargo-check +- repo: https://github.com/compilerla/conventional-pre-commit + rev: v3.4.0 + hooks: + - id: conventional-pre-commit + stages: [commit-msg] + args: []