chore(.pre-commit-config.yaml): add cargo deny to pre-commit, bump deps

This commit is contained in:
Matteo Settenvini 2025-09-08 16:49:47 +02:00
parent 1881ea23c1
commit 7d80610462

View file

@ -3,7 +3,7 @@
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0 rev: v6.0.0
hooks: hooks:
- id: check-merge-conflict - id: check-merge-conflict
- id: check-shebang-scripts-are-executable - id: check-shebang-scripts-are-executable
@ -21,16 +21,21 @@ repos:
- id: remove-tabs - id: remove-tabs
- repo: https://github.com/fsfe/reuse-tool.git - repo: https://github.com/fsfe/reuse-tool.git
rev: v5.0.2 rev: v5.1.1
hooks: hooks:
- id: reuse - id: reuse
- repo: https://github.com/commitizen-tools/commitizen.git - repo: https://github.com/commitizen-tools/commitizen.git
rev: v4.2.2 rev: v4.8.4
hooks: hooks:
- id: commitizen - id: commitizen
stages: [commit-msg] stages: [commit-msg]
- repo: https://github.com/EmbarkStudios/cargo-deny
rev: 0.18.4
hooks:
- id: cargo-deny
- repo: local - repo: local
hooks: hooks:
- id: rust-fmt - id: rust-fmt
@ -38,4 +43,4 @@ repos:
language: system language: system
types: [rust] types: [rust]
entry: rustfmt entry: rustfmt
args: ["--edition", "2021", "--config", "skip_children=true"] args: ["--edition", "2024", "--config", "skip_children=true"]