Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix clippy warning and deny them in the future #820

Merged
merged 2 commits into from
Dec 12, 2024
Merged

Fix clippy warning and deny them in the future #820

merged 2 commits into from
Dec 12, 2024

Conversation

Rigidity
Copy link
Contributor

@Rigidity Rigidity commented Dec 12, 2024

A while back I loosened the CI a bit to allow warnings through, and differentiated some of the warnings as hard errors. I think this is great for during development so you aren't forced to fix every strict clippy warning immediately, but when you're merging a PR through I think all of the warnings should be fixed beforehand. So I re-added the check in CI to deny warnings, while leaving it alone in precommit.

Another reason for allowing them before was that new nightly Rust versions would break CI without us changing the code. Now that we both use stable, and use a rust-toolchain.toml file, this is theoretically impossible.

Copy link

Pull Request Test Coverage Report for Build 12297656321

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 83.945%

Totals Coverage Status
Change from base Build 12286844688: 0.0%
Covered Lines: 13014
Relevant Lines: 15503

💛 - Coveralls

@Rigidity Rigidity requested review from arvidn and altendky December 12, 2024 16:52
@arvidn arvidn merged commit 070826c into main Dec 12, 2024
52 checks passed
@arvidn arvidn deleted the clippy-fix branch December 12, 2024 17:28
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.

3 participants