René's URL Explorer Experiment


Title: Fixes how the checker visits `typing.cast`/`typing.NewType` arguments by Daverball · Pull Request #17538 · astral-sh/ruff · GitHub

Open Graph Title: Fixes how the checker visits `typing.cast`/`typing.NewType` arguments by Daverball · Pull Request #17538 · astral-sh/ruff

X Title: Fixes how the checker visits `typing.cast`/`typing.NewType` arguments by Daverball · Pull Request #17538 · astral-sh/ruff

Description: An extremely fast Python linter and code formatter, written in Rust. - Fixes how the checker visits `typing.cast`/`typing.NewType` arguments by Daverball · Pull Request #17538 · astral-sh/ruff

Open Graph Description: Closes: #17442 Summary This allows for their arguments to be passed by name, however uncommon that may be. Test Plan cargo nextest run

X Description: Closes: #17442 Summary This allows for their arguments to be passed by name, however uncommon that may be. Test Plan cargo nextest run

Opengraph URL: https://github.com/astral-sh/ruff/pull/17538

X: @github

direct link

Domain: redirect.github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:7fa3bdb1-e107-a4fa-ceb5-3094084f6896
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEA58:3CB0EF:31CE826:424044E:6A653CDC
html-safe-noncea04eef7901a0ff00c22a3e096faa200849ca54cd7d91d15ea8eb0d7b56fb2000
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTU4OjNDQjBFRjozMUNFODI2OjQyNDA0NEU6NkE2NTNDREMiLCJ2aXNpdG9yX2lkIjoiMTI1NjMyOTU3NzQzNzA5NDA0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac34241e117dc2aa290d5dc866026d33c879728b4a8e57d1feb7a05c5984095094
hovercard-subject-tagpull_request:2472867516
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/astral-sh/ruff/17538/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f2736fef811878df88565962931adb0985af85cdd3a9efe1a83ed37d7d0390b4/astral-sh/ruff/pull/17538
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f2736fef811878df88565962931adb0985af85cdd3a9efe1a83ed37d7d0390b4/astral-sh/ruff/pull/17538
og:image:altCloses: #17442 Summary This allows for their arguments to be passed by name, however uncommon that may be. Test Plan cargo nextest run
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDaverball
hostnamegithub.com
expected-hostnamegithub.com
None52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b
turbo-cache-controlno-cache
go-importgithub.com/astral-sh/ruff git https://github.com/astral-sh/ruff.git
octolytics-dimension-user_id115962839
octolytics-dimension-user_loginastral-sh
octolytics-dimension-repository_id523043277
octolytics-dimension-repository_nwoastral-sh/ruff
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id523043277
octolytics-dimension-repository_network_root_nwoastral-sh/ruff
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release309153364422b3c499922d1a2a6404910a58ed8e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/astral-sh/ruff/pull/17538#start-of-content
https://redirect.github.com/
Sign in https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fastral-sh%2Fruff%2Fpull%2F17538
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fastral-sh%2Fruff%2Fpull%2F17538
Sign up https://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=astral-sh%2Fruff
Reloadhttps://redirect.github.com/astral-sh/ruff/pull/17538
Reloadhttps://redirect.github.com/astral-sh/ruff/pull/17538
Reloadhttps://redirect.github.com/astral-sh/ruff/pull/17538
Please reload this pagehttps://redirect.github.com/astral-sh/ruff/pull/17538
astral-sh https://redirect.github.com/astral-sh
ruffhttps://redirect.github.com/astral-sh/ruff
Notifications https://redirect.github.com/login?return_to=%2Fastral-sh%2Fruff
Fork 2.3k https://redirect.github.com/login?return_to=%2Fastral-sh%2Fruff
Star 48.8k https://redirect.github.com/login?return_to=%2Fastral-sh%2Fruff
Code https://redirect.github.com/astral-sh/ruff
Issues 1.7k https://redirect.github.com/astral-sh/ruff/issues
Pull requests 381 https://redirect.github.com/astral-sh/ruff/pulls
Discussions https://redirect.github.com/astral-sh/ruff/discussions
Actions https://redirect.github.com/astral-sh/ruff/actions
Projects https://redirect.github.com/astral-sh/ruff/projects
Security and quality 0 https://redirect.github.com/astral-sh/ruff/security
Insights https://redirect.github.com/astral-sh/ruff/pulse
Code https://redirect.github.com/astral-sh/ruff
Issues https://redirect.github.com/astral-sh/ruff/issues
Pull requests https://redirect.github.com/astral-sh/ruff/pulls
Discussions https://redirect.github.com/astral-sh/ruff/discussions
Actions https://redirect.github.com/astral-sh/ruff/actions
Projects https://redirect.github.com/astral-sh/ruff/projects
Security and quality https://redirect.github.com/astral-sh/ruff/security
Insights https://redirect.github.com/astral-sh/ruff/pulse
MichaReiserhttps://redirect.github.com/MichaReiser
astral-sh:mainhttps://redirect.github.com/astral-sh/ruff/tree/main
Daverball:bugfix/checker-visit-cast-argshttps://redirect.github.com/Daverball/ruff/tree/bugfix/checker-visit-cast-args
Conversationhttps://redirect.github.com/astral-sh/ruff/pull/17538
Commits1 (1)https://redirect.github.com/astral-sh/ruff/pull/17538/commits
Checkshttps://redirect.github.com/astral-sh/ruff/pull/17538/checks
Files changedhttps://redirect.github.com/astral-sh/ruff/pull/17538/files
Fixes how the checker visits typing.cast/typing.NewType argumentshttps://redirect.github.com/astral-sh/ruff/pull/17538#top
MichaReiserhttps://redirect.github.com/MichaReiser
astral-sh:mainhttps://redirect.github.com/astral-sh/ruff/tree/main
Daverball:bugfix/checker-visit-cast-argshttps://redirect.github.com/Daverball/ruff/tree/bugfix/checker-visit-cast-args
https://redirect.github.com/Daverball
Daverballhttps://redirect.github.com/Daverball
Apr 22, 2025https://redirect.github.com/astral-sh/ruff/pull/17538#issue-3010230898
#17442https://github.com/astral-sh/ruff/issues/17442
Please reload this pagehttps://redirect.github.com/astral-sh/ruff/pull/17538
https://redirect.github.com/Daverball
Fixes how the checker visits typing.cast/typing.NewType argumentshttps://redirect.github.com/astral-sh/ruff/pull/17538/commits/3f547abc95d57eda972883d4b216a485c9d940b1
3f547abhttps://redirect.github.com/astral-sh/ruff/pull/17538/commits/3f547abc95d57eda972883d4b216a485c9d940b1
https://redirect.github.com/apps/github-actions
github-actionshttps://redirect.github.com/apps/github-actions
Apr 22, 2025https://redirect.github.com/astral-sh/ruff/pull/17538#issuecomment-2820474395
Please reload this pagehttps://redirect.github.com/astral-sh/ruff/pull/17538
https://redirect.github.com/MichaReiser
MichaReiserhttps://redirect.github.com/MichaReiser
Apr 23, 2025 https://redirect.github.com/astral-sh/ruff/pull/17538#pullrequestreview-2786219023
View reviewed changes https://redirect.github.com/astral-sh/ruff/pull/17538/files/3f547abc95d57eda972883d4b216a485c9d940b1
MichaReiserhttps://redirect.github.com/MichaReiser
https://redirect.github.com/astral-sh/ruff/pull/17538#pullrequestreview-2786219023
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/astral-sh/ruff/pull/17538
https://redirect.github.com/MichaReiser
MichaReiserhttps://redirect.github.com/MichaReiser
bug https://redirect.github.com/astral-sh/ruff/issues?q=state%3Aopen%20label%3Abug
Apr 23, 2025https://redirect.github.com/astral-sh/ruff/pull/17538#event-17365260533
https://redirect.github.com/MichaReiser
MichaReiserhttps://redirect.github.com/MichaReiser
f36262dhttps://redirect.github.com/astral-sh/ruff/commit/f36262d970a76e78d725faf0ed15d2152a72dde8
Apr 23, 2025https://github.com/astral-sh/ruff/pull/17538#event-17365261365
https://redirect.github.com/Daverball
Daverballhttps://redirect.github.com/Daverball
April 23, 2025 09:00https://redirect.github.com/astral-sh/ruff/pull/17538#event-17366739516
dcreagerhttps://redirect.github.com/dcreager
Apr 23, 2025 https://redirect.github.com/astral-sh/ruff/pull/17538#ref-commit-d4b8c6f
https://redirect.github.com/dcreager
Merge branch 'main' into dcreager/generic-constructorhttps://redirect.github.com/astral-sh/ruff/commit/d4b8c6fcf81c032d7e52c77cb7144d0f8128824c
d4b8c6fhttps://redirect.github.com/astral-sh/ruff/commit/d4b8c6fcf81c032d7e52c77cb7144d0f8128824c
#17581https://github.com/astral-sh/ruff/pull/17581
#17551https://github.com/astral-sh/ruff/pull/17551
#17550https://github.com/astral-sh/ruff/pull/17550
#17557https://github.com/astral-sh/ruff/pull/17557
#17578https://github.com/astral-sh/ruff/pull/17578
#17575https://github.com/astral-sh/ruff/pull/17575
#17564https://github.com/astral-sh/ruff/pull/17564
#17538https://github.com/astral-sh/ruff/pull/17538
#17533https://github.com/astral-sh/ruff/pull/17533
#17568https://github.com/astral-sh/ruff/pull/17568
#17565https://github.com/astral-sh/ruff/pull/17565
#17535https://github.com/astral-sh/ruff/pull/17535
#17534https://github.com/astral-sh/ruff/pull/17534
dcreagerhttps://redirect.github.com/dcreager
Apr 23, 2025 https://redirect.github.com/astral-sh/ruff/pull/17538#ref-commit-8a34b11
https://redirect.github.com/dcreager
Merge branch 'dcreager/generic-constructor' into dcreager/legacy-type…https://redirect.github.com/astral-sh/ruff/commit/8a34b11ce239f8c0df27e388ca9f1700680bf407
8a34b11https://redirect.github.com/astral-sh/ruff/commit/8a34b11ce239f8c0df27e388ca9f1700680bf407
#17581https://github.com/astral-sh/ruff/pull/17581
#17551https://github.com/astral-sh/ruff/pull/17551
#17550https://github.com/astral-sh/ruff/pull/17550
#17557https://github.com/astral-sh/ruff/pull/17557
#17578https://github.com/astral-sh/ruff/pull/17578
#17575https://github.com/astral-sh/ruff/pull/17575
#17564https://github.com/astral-sh/ruff/pull/17564
#17538https://github.com/astral-sh/ruff/pull/17538
#17533https://github.com/astral-sh/ruff/pull/17533
#17568https://github.com/astral-sh/ruff/pull/17568
#17565https://github.com/astral-sh/ruff/pull/17565
#17535https://github.com/astral-sh/ruff/pull/17535
#17534https://github.com/astral-sh/ruff/pull/17534
https://redirect.github.com/BrewTestBot
BrewTestBothttps://redirect.github.com/BrewTestBot
Apr 24, 2025 https://redirect.github.com/astral-sh/ruff/pull/17538#ref-pullrequest-3018348052
ruff 0.11.7 Homebrew/homebrew-core#221359 https://redirect.github.com/Homebrew/homebrew-core/pull/221359
https://github.co/hiddenchars
https://redirect.github.com/astral-sh/ruff/pull/{{ revealButtonHref }}
Sign up for freehttps://redirect.github.com/join?source=comment-repo
Sign in to commenthttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fastral-sh%2Fruff%2Fpull%2F17538
https://redirect.github.com/MichaReiser
MichaReiser https://redirect.github.com/MichaReiser
https://redirect.github.com/astral-sh/ruff/pull/17538/files/3f547abc95d57eda972883d4b216a485c9d940b1
bug https://redirect.github.com/astral-sh/ruff/issues?q=state%3Aopen%20label%3Abug
Ruff Cannot Recognise a Variable Usage inside typing.cast https://github.com/astral-sh/ruff/issues/17442
Please reload this pagehttps://redirect.github.com/astral-sh/ruff/pull/17538
https://redirect.github.com/Daverball
https://redirect.github.com/MichaReiser
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.