From 303aaa9348cb9a81b46eff57bb93e3421ca5fda7 Mon Sep 17 00:00:00 2001 From: Uwe Klotz Date: Fri, 1 Mar 2024 15:30:37 +0100 Subject: [PATCH] Update pre-commit config and hooks --- .pre-commit-config.yaml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 09932d5a..8691799b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,7 +25,7 @@ repos: - id: mixed-line-ending - id: trailing-whitespace - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook - rev: v9.11.0 + rev: v9.12.0 hooks: - id: commitlint stages: @@ -44,7 +44,7 @@ repos: - id: codespell args: [--ignore-words=.codespellignore] - repo: https://github.com/sirosen/check-jsonschema - rev: 0.27.3 + rev: 0.28.0 hooks: - id: check-github-actions - id: check-github-workflows @@ -66,6 +66,7 @@ repos: - id: fmt args: [--all, --] - id: clippy + name: clippy --all-features args: [ --locked, @@ -76,6 +77,18 @@ repos: -D, warnings, ] + - id: clippy + name: clippy --no-default-features + args: + [ + --locked, + --workspace, + --no-default-features, + --all-targets, + --, + -D, + warnings, + ] - repo: local hooks: - id: cargo-doc