Skip to content

Commit 1b9ca41

Browse files
committed
feat: make cargo commands less verbose in linting scripts
- Add --quiet flag to cargo clippy command to suppress crate downloads and compilation output - Add --quiet flag to cargo fmt command for cleaner output - Significantly reduces log noise while preserving important linting results - All linters continue to pass with much cleaner output
1 parent 7017b87 commit 1b9ca41

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

scripts/linting/clippy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ log_info "Running Rust Clippy linter..."
3535

3636
# Run clippy with comprehensive checks (same as meson target)
3737
CARGO_INCREMENTAL=0 cargo clippy \
38+
--quiet \
3839
--no-deps \
3940
--tests \
4041
--benches \

scripts/linting/rustfmt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ log_error() {
3434
log_info "Running Rust formatter check..."
3535

3636
# Run cargo fmt --check to verify formatting
37-
if cargo fmt --check; then
37+
if cargo fmt --check --quiet; then
3838
log_success "Rust formatting check passed!"
3939
exit 0
4040
else

0 commit comments

Comments
 (0)