From 92aa3a8178bd897864027bcc2e04cb0087da02e2 Mon Sep 17 00:00:00 2001 From: Jonathan Plasse <13716151+JonathanPlasse@users.noreply.github.com> Date: Tue, 21 Mar 2023 03:44:21 +0100 Subject: [PATCH] Use language: system for Rust hooks (#3616) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index eda576b5eb..da2807fd09 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,17 +28,17 @@ repos: - id: cargo-fmt name: cargo fmt entry: cargo fmt -- - language: rust + language: system types: [rust] - id: clippy name: clippy entry: cargo clippy --workspace --all-targets --all-features -- -D warnings - language: rust + language: system pass_filenames: false - id: ruff name: ruff entry: cargo run -p ruff_cli -- check --no-cache --force-exclude --fix --exit-non-zero-on-fix - language: rust + language: system types_or: [python, pyi] require_serial: true exclude: | @@ -49,7 +49,7 @@ repos: - id: dev-generate-all name: dev-generate-all entry: cargo dev generate-all - language: rust + language: system pass_filenames: false exclude: target