summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorBlackDex <[email protected]>2023-02-08 17:13:14 +0100
committerBlackDex <[email protected]>2023-02-13 08:32:01 +0100
commita0a499425024d58595ed672a901987ac523e77e1 (patch)
treec09e2b9bdb7cdfed34a3e10be644f26480593d97 /.pre-commit-config.yaml
parent32dfa419700c5d9afc62c963215843ef47504197 (diff)
downloadvaultwarden-a0a499425024d58595ed672a901987ac523e77e1.tar.gz
vaultwarden-a0a499425024d58595ed672a901987ac523e77e1.zip
Updated Rust and crates
- Updated Rust to v1.67.0 - Updated all crates except for `cookies` and `webauthn`
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index a8a68242..0d7abeb7 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,16 +1,20 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.3.0
+ rev: v4.4.0
hooks:
- id: check-yaml
- id: check-json
- id: check-toml
+ - id: mixed-line-ending
+ args: ["--fix=no"]
- id: end-of-file-fixer
exclude: "(.*js$|.*css$)"
- id: check-case-conflict
- id: check-merge-conflict
- id: detect-private-key
+ - id: check-symlinks
+ - id: forbid-submodules
- repo: local
hooks:
- id: fmt
@@ -36,5 +40,5 @@ repos:
language: system
args: ["--features", "sqlite,mysql,postgresql,enable_mimalloc", "--", "-D", "warnings"]
types_or: [rust, file]
- files: (Cargo.toml|Cargo.lock|rust-toolchain|.*\.rs$)
+ files: (Cargo.toml|Cargo.lock|rust-toolchain|clippy.toml|.*\.rs$)
pass_filenames: false