From 8e468265412fbc681481ca941d875730083f523e Mon Sep 17 00:00:00 2001 From: xtqqczze <45661989+xtqqczze@users.noreply.github.com> Date: Tue, 19 May 2026 02:12:27 +0100 Subject: [PATCH 1/2] docs: update clippy section in DEVELOPMENT.md - update command to include `--workspace`, matching `pre-commit` - remove outdated paragraph about `msrv` --- DEVELOPMENT.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 35291369c12..0009ff2b19b 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -70,13 +70,9 @@ the suggested changes, and run `git commit ...` again. ### clippy ```shell -cargo clippy --all-targets --all-features +cargo clippy --workspace --all-targets --all-features ``` -The `msrv` key in the clippy configuration file `clippy.toml` is used to disable -lints pertaining to newer features by specifying the minimum supported Rust -version (MSRV). - ### rustfmt ```shell From 7097e14932be6d7ad00dbae63502f8d89efd171e Mon Sep 17 00:00:00 2001 From: xtqqczze <45661989+xtqqczze@users.noreply.github.com> Date: Tue, 19 May 2026 13:24:51 +0100 Subject: [PATCH 2/2] docs: update tools in DEVELOPMENT.md - remove note about pre-commit hook being broken on macOS - update clippy command to include `--workspace`, matching `pre-commit` - remove outdated paragraph about `msrv` in `clippy.toml` --- DEVELOPMENT.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 0009ff2b19b..833f258b63c 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -65,8 +65,6 @@ Your git commits will then automatically be checked. If a check fails, an error message will explain why, and your commit will be canceled. You can then make the suggested changes, and run `git commit ...` again. -**NOTE: On MacOS** the pre-commit hooks are currently broken. There are workarounds involving switching to unstable nightly Rust and components. - ### clippy ```shell