From e3608af9927c5d8153ab10bce06e669c54ac615f Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Fri, 1 Mar 2024 21:25:06 -0500 Subject: [PATCH] Use long flags in `script/clippy` for readability (#8694) This PR modifies the `script/clippy` script to use long flags, as these are better for readability. Release Notes: - N/A --- script/clippy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/clippy b/script/clippy index 69b0bce192..b0a1c86cc2 100755 --- a/script/clippy +++ b/script/clippy @@ -5,5 +5,5 @@ set -euxo pipefail # clippy.toml is not currently supporting specifying allowed lints # so specify those here, and disable the rest until Zed's workspace # will have more fixes & suppression for the standard lint set -cargo clippy --release --workspace --all-features --all-targets -- -A clippy::all -D clippy::dbg_macro -D clippy::todo -cargo clippy -p gpui -- -D warnings +cargo clippy --release --workspace --all-features --all-targets -- --allow clippy::all --deny clippy::dbg_macro --deny clippy::todo +cargo clippy --package gpui -- --deny warnings