René's URL Explorer Experiment


Title: chore: fix all clippy issues and strengthen CI lint coverage (Fixes #481) by karthiknadig · Pull Request #482 · microsoft/python-environment-tools · GitHub

Open Graph Title: chore: fix all clippy issues and strengthen CI lint coverage (Fixes #481) by karthiknadig · Pull Request #482 · microsoft/python-environment-tools

X Title: chore: fix all clippy issues and strengthen CI lint coverage (Fixes #481) by karthiknadig · Pull Request #482 · microsoft/python-environment-tools

Description: Summary Makes the whole workspace pass cargo clippy --workspace --all-targets --all-features -- -D warnings and closes the CI gap that let these slip through: the lint job ran cargo clippy --all-features without --all-targets and only on Linux, so test code and platform-gated code were never linted. Clippy fixes crates/pet-hatch/src/lib.rs — remove four needless & borrows in norm_case(&path.join(...)) (needless_borrows_for_generic_args). crates/pet/tests/jsonrpc_server_test.rs — drop a needless return (needless_return). crates/pet/tests/e2e_performance.rs — replace .expect(&format!(...)) with .unwrap_or_else(|_| panic!(...)) to avoid eager formatting (expect_fun_call). CI lint changes (lint.yml) Run cargo clippy --workspace --all-targets --all-features -- -D warnings so tests and feature-gated code are linted. Add a Windows runner alongside Linux (matrix) so platform-gated code is covered. Split the format check into its own job. Toolchain stays on dtolnay/rust-toolchain@stable (latest stable); local is already on the latest stable. Verification cargo clippy --workspace --all-targets --all-features -- -D warnings — clean (Linux + Windows; verified Windows locally). cargo fmt --all --check — clean. cargo test -p pet-hatch — 33 passing; pet test targets compile. Note: the new lint matrix does not yet include macOS to avoid surfacing unverifiable pre-existing macOS-gated findings in this PR; that can be a follow-up. Fixes #481

Open Graph Description: Summary Makes the whole workspace pass cargo clippy --workspace --all-targets --all-features -- -D warnings and closes the CI gap that let these slip through: the lint job ran cargo clippy --all-fe...

X Description: Summary Makes the whole workspace pass cargo clippy --workspace --all-targets --all-features -- -D warnings and closes the CI gap that let these slip through: the lint job ran cargo clippy --all-fe...

Opengraph URL: https://github.com/microsoft/python-environment-tools/pull/482

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:549a2c55-eaa3-cfae-e885-cb799fa03398
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id923E:25F708:A57B80:DCD02B:6A52B7C8
html-safe-noncec516033227a808c1b944ef4ce34aaba0913085ef8e1d112f78ecc9ce03c98c91
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjNFOjI1RjcwODpBNTdCODA6RENEMDJCOjZBNTJCN0M4IiwidmlzaXRvcl9pZCI6Ijg3ODg3NzY2NDE2OTIzNTA0MDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf1e46a51616e37ac3cc51f0dc330420743868ac04ebfbe00d27625aea42c5e27
hovercard-subject-tagpull_request:3939937286
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/microsoft/python-environment-tools/pull/482/files
twitter:imagehttps://avatars.githubusercontent.com/u/3840081?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3840081?s=400&v=4
og:image:altSummary Makes the whole workspace pass cargo clippy --workspace --all-targets --all-features -- -D warnings and closes the CI gap that let these slip through: the lint job ran cargo clippy --all-fe...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/microsoft/python-environment-tools git https://github.com/microsoft/python-environment-tools.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id808419207
octolytics-dimension-repository_nwomicrosoft/python-environment-tools
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id808419207
octolytics-dimension-repository_network_root_nwomicrosoft/python-environment-tools
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/python-environment-tools/pull/482/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpython-environment-tools%2Fpull%2F482%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpython-environment-tools%2Fpull%2F482%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=microsoft%2Fpython-environment-tools
Reloadhttps://github.com/microsoft/python-environment-tools/pull/482/files
Reloadhttps://github.com/microsoft/python-environment-tools/pull/482/files
Reloadhttps://github.com/microsoft/python-environment-tools/pull/482/files
Please reload this pagehttps://github.com/microsoft/python-environment-tools/pull/482/files
microsoft https://github.com/microsoft
python-environment-toolshttps://github.com/microsoft/python-environment-tools
Notifications https://github.com/login?return_to=%2Fmicrosoft%2Fpython-environment-tools
Fork 42 https://github.com/login?return_to=%2Fmicrosoft%2Fpython-environment-tools
Star 206 https://github.com/login?return_to=%2Fmicrosoft%2Fpython-environment-tools
Code https://github.com/microsoft/python-environment-tools
Issues 10 https://github.com/microsoft/python-environment-tools/issues
Pull requests 1 https://github.com/microsoft/python-environment-tools/pulls
Actions https://github.com/microsoft/python-environment-tools/actions
Models https://github.com/microsoft/python-environment-tools/models
Security and quality 0 https://github.com/microsoft/python-environment-tools/security
Insights https://github.com/microsoft/python-environment-tools/pulse
Code https://github.com/microsoft/python-environment-tools
Issues https://github.com/microsoft/python-environment-tools/issues
Pull requests https://github.com/microsoft/python-environment-tools/pulls
Actions https://github.com/microsoft/python-environment-tools/actions
Models https://github.com/microsoft/python-environment-tools/models
Security and quality https://github.com/microsoft/python-environment-tools/security
Insights https://github.com/microsoft/python-environment-tools/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fmicrosoft%2Fpython-environment-tools%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmicrosoft%2Fpython-environment-tools%2Fissues%2Fnew%2Fchoose
karthiknadighttps://github.com/karthiknadig
mainhttps://github.com/microsoft/python-environment-tools/tree/main
chore/issue-481https://github.com/microsoft/python-environment-tools/tree/chore/issue-481
Conversation 7 https://github.com/microsoft/python-environment-tools/pull/482
Commits 5 https://github.com/microsoft/python-environment-tools/pull/482/commits
Checks 37 https://github.com/microsoft/python-environment-tools/pull/482/checks
Files changed https://github.com/microsoft/python-environment-tools/pull/482/files
Please reload this pagehttps://github.com/microsoft/python-environment-tools/pull/482/files
chore: fix all clippy issues and strengthen CI lint coverage (Fixes #481) https://github.com/microsoft/python-environment-tools/pull/482/files#top
Show all changes 5 commits https://github.com/microsoft/python-environment-tools/pull/482/files
9246ff3 chore: remove needless borrows in pet-hatch tests (Fixes #481) karthiknadig Jun 26, 2026 https://github.com/microsoft/python-environment-tools/pull/482/commits/9246ff3686323892ed59241f67185b3a5913cc1c
fd62ccd chore: fix remaining clippy issues and broaden CI lint (Fixes #481) karthiknadig Jun 26, 2026 https://github.com/microsoft/python-environment-tools/pull/482/commits/fd62ccdaf71681a72fe878ef81f47df1d78ce666
c88eb99 Apply suggestions from code review karthiknadig Jun 26, 2026 https://github.com/microsoft/python-environment-tools/pull/482/commits/c88eb9973843c97d5919941bd2ff0402b5382649
c8c43e6 chore: fix len_zero clippy lint in pet-homebrew tests karthiknadig Jun 26, 2026 https://github.com/microsoft/python-environment-tools/pull/482/commits/c8c43e6f830031746094cd157c018b2d2c2943d1
7fe048f chore: fix dead_code in pet-winpython on non-Windows and lint all OSes karthiknadig Jun 26, 2026 https://github.com/microsoft/python-environment-tools/pull/482/commits/7fe048fab031c189eb1a8533c2330a946289704d
Clear filters https://github.com/microsoft/python-environment-tools/pull/482/files
Please reload this pagehttps://github.com/microsoft/python-environment-tools/pull/482/files
Please reload this pagehttps://github.com/microsoft/python-environment-tools/pull/482/files
lint.yml https://github.com/microsoft/python-environment-tools/pull/482/files#diff-107e910e9f2ebfb9a741fa10b2aa7100cc1fc4f5f3aca2dfe78b905cbd73c0d2
lib.rs https://github.com/microsoft/python-environment-tools/pull/482/files#diff-92e4ac93133ff9f2928eed2e9522493787f1277b42d866cecd249f273ccfca49
sym_links.rs https://github.com/microsoft/python-environment-tools/pull/482/files#diff-17632182fcad7d99f1e86c94bc7dfa25ed0622f9457ae69ffb0bf16ec4fdad5c
lib.rs https://github.com/microsoft/python-environment-tools/pull/482/files#diff-2f05908f4701d2ade573d0926c1f9de65f53d056bd80e792ed7536b3ec9d2bbc
e2e_performance.rs https://github.com/microsoft/python-environment-tools/pull/482/files#diff-c1a5a73fc76be574d17aa508e737bc9e1595e10c4f1a26295bd35c277dec603e
jsonrpc_server_test.rs https://github.com/microsoft/python-environment-tools/pull/482/files#diff-9ec4e82d3e810475bc2956260e708cd6dbb29522f0d13c1f518a7e31ee7f34b2
.github/workflows/lint.ymlhttps://github.com/microsoft/python-environment-tools/pull/482/files#diff-107e910e9f2ebfb9a741fa10b2aa7100cc1fc4f5f3aca2dfe78b905cbd73c0d2
View file https://github.com/microsoft/python-environment-tools/blob/7fe048fab031c189eb1a8533c2330a946289704d/.github/workflows/lint.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/python-environment-tools/pull/482/{{ revealButtonHref }}
https://github.com/microsoft/python-environment-tools/pull/482/files#diff-107e910e9f2ebfb9a741fa10b2aa7100cc1fc4f5f3aca2dfe78b905cbd73c0d2
https://github.com/microsoft/python-environment-tools/pull/482/files#diff-107e910e9f2ebfb9a741fa10b2aa7100cc1fc4f5f3aca2dfe78b905cbd73c0d2
crates/pet-hatch/src/lib.rshttps://github.com/microsoft/python-environment-tools/pull/482/files#diff-92e4ac93133ff9f2928eed2e9522493787f1277b42d866cecd249f273ccfca49
View file https://github.com/microsoft/python-environment-tools/blob/7fe048fab031c189eb1a8533c2330a946289704d/crates/pet-hatch/src/lib.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/python-environment-tools/pull/482/{{ revealButtonHref }}
https://github.com/microsoft/python-environment-tools/pull/482/files#diff-92e4ac93133ff9f2928eed2e9522493787f1277b42d866cecd249f273ccfca49
https://github.com/microsoft/python-environment-tools/pull/482/files#diff-92e4ac93133ff9f2928eed2e9522493787f1277b42d866cecd249f273ccfca49
https://github.com/microsoft/python-environment-tools/pull/482/files#diff-92e4ac93133ff9f2928eed2e9522493787f1277b42d866cecd249f273ccfca49
https://github.com/microsoft/python-environment-tools/pull/482/files#diff-92e4ac93133ff9f2928eed2e9522493787f1277b42d866cecd249f273ccfca49
https://github.com/microsoft/python-environment-tools/pull/482/files#diff-92e4ac93133ff9f2928eed2e9522493787f1277b42d866cecd249f273ccfca49
https://github.com/microsoft/python-environment-tools/pull/482/files#diff-92e4ac93133ff9f2928eed2e9522493787f1277b42d866cecd249f273ccfca49
https://github.com/microsoft/python-environment-tools/pull/482/files#diff-92e4ac93133ff9f2928eed2e9522493787f1277b42d866cecd249f273ccfca49
crates/pet-homebrew/src/sym_links.rshttps://github.com/microsoft/python-environment-tools/pull/482/files#diff-17632182fcad7d99f1e86c94bc7dfa25ed0622f9457ae69ffb0bf16ec4fdad5c
View file https://github.com/microsoft/python-environment-tools/blob/7fe048fab031c189eb1a8533c2330a946289704d/crates/pet-homebrew/src/sym_links.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/python-environment-tools/pull/482/{{ revealButtonHref }}
https://github.com/microsoft/python-environment-tools/pull/482/files#diff-17632182fcad7d99f1e86c94bc7dfa25ed0622f9457ae69ffb0bf16ec4fdad5c
https://github.com/microsoft/python-environment-tools/pull/482/files#diff-17632182fcad7d99f1e86c94bc7dfa25ed0622f9457ae69ffb0bf16ec4fdad5c
https://github.com/microsoft/python-environment-tools/pull/482/files#diff-17632182fcad7d99f1e86c94bc7dfa25ed0622f9457ae69ffb0bf16ec4fdad5c
crates/pet-winpython/src/lib.rshttps://github.com/microsoft/python-environment-tools/pull/482/files#diff-2f05908f4701d2ade573d0926c1f9de65f53d056bd80e792ed7536b3ec9d2bbc
View file https://github.com/microsoft/python-environment-tools/blob/7fe048fab031c189eb1a8533c2330a946289704d/crates/pet-winpython/src/lib.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/python-environment-tools/pull/482/{{ revealButtonHref }}
https://github.com/microsoft/python-environment-tools/pull/482/files#diff-2f05908f4701d2ade573d0926c1f9de65f53d056bd80e792ed7536b3ec9d2bbc
https://github.com/microsoft/python-environment-tools/pull/482/files#diff-2f05908f4701d2ade573d0926c1f9de65f53d056bd80e792ed7536b3ec9d2bbc
https://github.com/microsoft/python-environment-tools/pull/482/files#diff-2f05908f4701d2ade573d0926c1f9de65f53d056bd80e792ed7536b3ec9d2bbc
https://github.com/microsoft/python-environment-tools/pull/482/files#diff-2f05908f4701d2ade573d0926c1f9de65f53d056bd80e792ed7536b3ec9d2bbc
crates/pet/tests/e2e_performance.rshttps://github.com/microsoft/python-environment-tools/pull/482/files#diff-c1a5a73fc76be574d17aa508e737bc9e1595e10c4f1a26295bd35c277dec603e
View file https://github.com/microsoft/python-environment-tools/blob/7fe048fab031c189eb1a8533c2330a946289704d/crates/pet/tests/e2e_performance.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/python-environment-tools/pull/482/{{ revealButtonHref }}
https://github.com/microsoft/python-environment-tools/pull/482/files#diff-c1a5a73fc76be574d17aa508e737bc9e1595e10c4f1a26295bd35c277dec603e
https://github.com/microsoft/python-environment-tools/pull/482/files#diff-c1a5a73fc76be574d17aa508e737bc9e1595e10c4f1a26295bd35c277dec603e
crates/pet/tests/jsonrpc_server_test.rshttps://github.com/microsoft/python-environment-tools/pull/482/files#diff-9ec4e82d3e810475bc2956260e708cd6dbb29522f0d13c1f518a7e31ee7f34b2
View file https://github.com/microsoft/python-environment-tools/blob/7fe048fab031c189eb1a8533c2330a946289704d/crates/pet/tests/jsonrpc_server_test.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/python-environment-tools/pull/482/{{ revealButtonHref }}
https://github.com/microsoft/python-environment-tools/pull/482/files#diff-9ec4e82d3e810475bc2956260e708cd6dbb29522f0d13c1f518a7e31ee7f34b2
https://github.com/microsoft/python-environment-tools/pull/482/files#diff-9ec4e82d3e810475bc2956260e708cd6dbb29522f0d13c1f518a7e31ee7f34b2
Please reload this pagehttps://github.com/microsoft/python-environment-tools/pull/482/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.