Skip to content

fix: resolve all clippy warnings#298

Merged
Timi16 merged 2 commits intoTimi16:mainfrom
spartan124:fix/clippy-warnings
Feb 25, 2026
Merged

fix: resolve all clippy warnings#298
Timi16 merged 2 commits intoTimi16:mainfrom
spartan124:fix/clippy-warnings

Conversation

@spartan124
Copy link
Contributor

Closes #284

Summary

  • Ensures CI enforces linting via cargo clippy --workspace --all-targets --all-features -- -D warnings
  • Adds a clarifying comment explaining why RUSTFLAGS: "-D warnings" is set in CI (treat all compiler warnings, including deprecations, as errors)
  • Adds a local helper script (run_local_ci.sh) to run the same checks locally (fmt, clippy, tests)

How to test locally

chmod +x run_local_ci.sh
./run_local_ci.sh

Notes

  • This PR does not add any #[allow(...)] suppressions.
  • Any PRs failing due to deprecated APIs or clippy lints should be updated to satisfy the stricter CI policy.

- no warnings found in codebase.
- added run_local_ci.sh to run simulate ci runs before pushing changes from local machine
@Timi16
Copy link
Owner

Timi16 commented Feb 25, 2026

resolve conflicts

@spartan124
Copy link
Contributor Author

resolved by accepting incoming change.

@Timi16 Timi16 merged commit 3d2fd55 into Timi16:main Feb 25, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix Clippy Warnings Across Entire Codebase

2 participants