Skip to content

clippy pre-commit/CI improvements#8030

Merged
sylvestre merged 3 commits intouutils:mainfrom
drinkcat:clippy-better
May 29, 2025
Merged

clippy pre-commit/CI improvements#8030
sylvestre merged 3 commits intouutils:mainfrom
drinkcat:clippy-better

Conversation

@drinkcat
Copy link
Collaborator

.pre-commit-config.yaml: Match config in CI

We need to enable -D warnings to get the same behaviour.

code-quality.yml: Clippy with --all-features and --workspace on ubuntu

Without this, some uucore packages are not properly tested.

uucore: Use next_back on PathBuf's DoubleEndedIterator

As recommended by clippy, last() needlessly goes through the whole
path while next_back() is available.

drinkcat added 3 commits May 29, 2025 13:55
As recommended by clippy, last() needlessly goes through the whole
path while next_back() is available.
Without this, some uucore packages are not properly tested.
We need to enable -D warnings to get the same behaviour.
@github-actions
Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)

@sylvestre sylvestre merged commit 9413206 into uutils:main May 29, 2025
74 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.

2 participants