Skip to content

Conversation

@WesleyRosenblum
Copy link
Contributor

@WesleyRosenblum WesleyRosenblum commented Jul 23, 2025

Description of changes:

This PR removes some exceptions for Clippy lints that have either been improved to reduce false positives, or can be fixed in code.

Testing:

Clippy passing in CI

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@WesleyRosenblum WesleyRosenblum changed the title ci: remove exceptions for clipps ci: remove exceptions for clippy Jul 23, 2025
@WesleyRosenblum WesleyRosenblum marked this pull request as ready for review July 23, 2025 23:37
@boquan-fang boquan-fang self-requested a review July 23, 2025 23:38

cargo +nightly fmt --all -- --check
cargo +stable clippy --all-features --all-targets -- -D warnings -A clippy::derive_partial_eq_without_eq -A clippy::manual_clamp -A clippy::uninlined_format_args
cargo +stable clippy --all-features --all-targets -- -D warnings
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

related to #2695 (comment).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we just add -- -D warnings option to

- name: Run clippy
working-directory: tools/xdp
run: cargo +stable clippy
?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can do that in #2695

@WesleyRosenblum WesleyRosenblum merged commit 35dd224 into main Jul 24, 2025
129 of 130 checks passed
@WesleyRosenblum WesleyRosenblum deleted the WeslseyRosenblum/cleanclippy branch July 24, 2025 16:34
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.

2 participants