Skip to content

tools/testing: clear most clippy pedantic findings (part of #12395) - #12797

Open
TrapsterDK wants to merge 1 commit into
mainfrom
pedantic-tools-testing
Open

TrapsterDK wants to merge 1 commit into
mainfrom
pedantic-tools-testing

Conversation

@TrapsterDK

Copy link
Copy Markdown
Collaborator

Part of #12395.

Clears the clippy pedantic, dbg_macro, rust_2018_idioms and unused_qualifications findings in //tools/testing/... from 1643 to 15: machine fixes, # Errors / # Panics sections, Path::display() in panic messages, write! instead of push_str(&format!), checked casts, extension comparisons via Path::extension.

Remaining in //tools/testing (15): needless_pass_by_value 6 (lsp Session::request/notify, starlark_harness manifest/evaluated, hermetic run_dx/run), similar_names 6, too_many_lines 2 (hermetic verify_evidence, run_all), unnecessary_wraps 1 (nested test resolver).

Checked: clippy aspect with the pedantic flags on //tools/testing/...; 98 of 107 non-nested, non-consumer, non-hermetic tests pass. The 9 failures are repo content checks (language_skeleton_test, consumer root_module_test, consumer manifest golden, registration gating, macro_signatures) reporting julia/php/javascript/typescript layout problems in files this PR does not touch.

Not run: nested-Bazel, consumer, hermetic qualification tests, tools/dx check.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xut2hvuiHK9vSNJZWiqKfX

This branch has not been deployed

No deployments
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.

1 participant