| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9cf3b760-2acb-18ac-21df-c5f327fc2218 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D156:19C516:505C67:6A8F81:6A5BD0A4 |
| html-safe-nonce | 904125a232fc1607b728a4f77cfb0fe779bdb4db8c50ace31ef5f6029fb0a55f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTU2OjE5QzUxNjo1MDVDNjc6NkE4RjgxOjZBNUJEMEE0IiwidmlzaXRvcl9pZCI6IjU0NTEzNjA1MDE3NjYwMTcxODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c00d3dab81d8b530833be504c3c9c377a7c958c2332ed33dba656a80bd1137d2 |
| hovercard-subject-tag | pull_request:3928456483 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/8160/files |
| twitter:image | https://avatars.githubusercontent.com/u/50263213?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/50263213?s=400&v=4 |
| og:image:alt | Closes #xxxx
This PR follows our AI policy
Summary
astral-sh/ruff#26271
Summary by CodeRabbit
Bug Fixes
Strengthened dictionary-comprehension handling to require optional keys be present, co... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/RustPython/RustPython/pull/8160/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F8160%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2FRustPython%2FRustPython%2Fpull%2F8160%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=RustPython%2FRustPython |
| Reload | https://github.com/RustPython/RustPython/pull/8160/files |
| Reload | https://github.com/RustPython/RustPython/pull/8160/files |
| Reload | https://github.com/RustPython/RustPython/pull/8160/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8160/files |
|
RustPython
| https://github.com/RustPython |
| RustPython | https://github.com/RustPython/RustPython |
|
Notifications
| https://github.com/login?return_to=%2FRustPython%2FRustPython |
|
Fork
1.5k
| https://github.com/login?return_to=%2FRustPython%2FRustPython |
|
Star
22.2k
| https://github.com/login?return_to=%2FRustPython%2FRustPython |
|
Code
| https://github.com/RustPython/RustPython |
|
Issues
291
| https://github.com/RustPython/RustPython/issues |
|
Pull requests
106
| https://github.com/RustPython/RustPython/pulls |
|
Discussions
| https://github.com/RustPython/RustPython/discussions |
|
Actions
| https://github.com/RustPython/RustPython/actions |
|
Projects
| https://github.com/RustPython/RustPython/projects |
|
Models
| https://github.com/RustPython/RustPython/models |
|
Wiki
| https://github.com/RustPython/RustPython/wiki |
|
Security and quality
0
| https://github.com/RustPython/RustPython/security |
|
Insights
| https://github.com/RustPython/RustPython/pulse |
|
Code
| https://github.com/RustPython/RustPython |
|
Issues
| https://github.com/RustPython/RustPython/issues |
|
Pull requests
| https://github.com/RustPython/RustPython/pulls |
|
Discussions
| https://github.com/RustPython/RustPython/discussions |
|
Actions
| https://github.com/RustPython/RustPython/actions |
|
Projects
| https://github.com/RustPython/RustPython/projects |
|
Models
| https://github.com/RustPython/RustPython/models |
|
Wiki
| https://github.com/RustPython/RustPython/wiki |
|
Security and quality
| https://github.com/RustPython/RustPython/security |
|
Insights
| https://github.com/RustPython/RustPython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose |
| ShaharNaveh | https://github.com/ShaharNaveh |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| ShaharNaveh:ruff-0-15-19 | https://github.com/ShaharNaveh/RustPython/tree/ruff-0-15-19 |
|
Conversation
9
| https://github.com/RustPython/RustPython/pull/8160 |
|
Commits
10
| https://github.com/RustPython/RustPython/pull/8160/commits |
|
Checks
26
| https://github.com/RustPython/RustPython/pull/8160/checks |
|
Files changed
| https://github.com/RustPython/RustPython/pull/8160/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8160/files |
|
Update ruff to 0.15.19, use it from crates.io
| https://github.com/RustPython/RustPython/pull/8160/files#top |
|
Show all changes
10 commits
| https://github.com/RustPython/RustPython/pull/8160/files |
|
9a2efc7
Update ruff to 0.15.19
ShaharNaveh Jun 24, 2026
| https://github.com/RustPython/RustPython/pull/8160/commits/9a2efc729d435800230cfcc78d36e831f59761d6 |
|
2603dd1
dependabot
ShaharNaveh Jun 24, 2026
| https://github.com/RustPython/RustPython/pull/8160/commits/2603dd172e9a236f2e56d47ac3c9262a8353d799 |
|
717ef0c
fix codegen
ShaharNaveh Jun 24, 2026
| https://github.com/RustPython/RustPython/pull/8160/commits/717ef0c60fc02b374b5a148a78cac87043273810 |
|
11de11e
vm compiles
ShaharNaveh Jun 24, 2026
| https://github.com/RustPython/RustPython/pull/8160/commits/11de11e17f5dec0e40099e59a635d06f32632861 |
|
58df4ec
Align tests
ShaharNaveh Jun 24, 2026
| https://github.com/RustPython/RustPython/pull/8160/commits/58df4ecdfda815a070c6e9df0dccda749fe61d34 |
|
4ad7ad3
unmark passing test
ShaharNaveh Jun 24, 2026
| https://github.com/RustPython/RustPython/pull/8160/commits/4ad7ad30b5d5ae38716ac5c930af2b9dccf4ca0a |
|
6b8f4d0
clippy
ShaharNaveh Jun 24, 2026
| https://github.com/RustPython/RustPython/pull/8160/commits/6b8f4d08a2cc16c491587d2d8f5a14f9ad0416ca |
|
daba645
unmark passing test
ShaharNaveh Jun 24, 2026
| https://github.com/RustPython/RustPython/pull/8160/commits/daba6454b52b8743b5e610c4fe794a820dce6a19 |
|
e5db715
Don't crash for PEP 798
ShaharNaveh Jun 24, 2026
| https://github.com/RustPython/RustPython/pull/8160/commits/e5db71540dac915368eeb35aa30d9936db101367 |
|
b8d5c20
unmark passing test
ShaharNaveh Jun 24, 2026
| https://github.com/RustPython/RustPython/pull/8160/commits/b8d5c20f010ecf6193bdba6d650f69410f823d7b |
|
Clear filters
| https://github.com/RustPython/RustPython/pull/8160/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8160/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8160/files |
|
dependabot.yml
| https://github.com/RustPython/RustPython/pull/8160/files#diff-dd4fbda47e51f1e35defb9275a9cd9c212ecde0b870cba89ddaaae65c5f3cd28 |
|
Cargo.lock
| https://github.com/RustPython/RustPython/pull/8160/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87e |
|
Cargo.toml
| https://github.com/RustPython/RustPython/pull/8160/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542 |
|
test_compile.py
| https://github.com/RustPython/RustPython/pull/8160/files#diff-c69ceae0611c40012b4691e3536bf17efacdb5b51b8e155eec9a939108e42e43 |
|
test_grammar.py
| https://github.com/RustPython/RustPython/pull/8160/files#diff-7eac747e92e4e17aedea75013cc72e9365dabf8511aaa0b634b319a33d4a8b47 |
|
test_patma.py
| https://github.com/RustPython/RustPython/pull/8160/files#diff-490b4f3b911cb4ca281e9ca6ff814bc10d331f0421f6c6971b08d9f29020620b |
|
test_syntax.py
| https://github.com/RustPython/RustPython/pull/8160/files#diff-985c9f5237c42a342864f5cbdb35dc56bc0017f44d5dfa561ecbef72e4a7ad4f |
|
test_unpack_ex.py
| https://github.com/RustPython/RustPython/pull/8160/files#diff-2fa17fec0415edd2fdd07a6b65e30a53dd8e6fe772d72ebf2fcf01924bfa5404 |
|
compile.rs
| https://github.com/RustPython/RustPython/pull/8160/files#diff-6a53a11ca0aa1a372032c6b54644b8cda74af0c771efa40d3668da4a042cf7ca |
|
symboltable.rs
| https://github.com/RustPython/RustPython/pull/8160/files#diff-7e251aa58ffb659d1cf1ee90837d9e467e5c3e1c699f5c1e42655c2f03489b12 |
|
unparse.rs
| https://github.com/RustPython/RustPython/pull/8160/files#diff-541f63d2cae775159f02b50af9cb6320c6e55854889b2fd22e2b99fa33b5646a |
|
Cargo.toml
| https://github.com/RustPython/RustPython/pull/8160/files#diff-ccc3290f8eb6dbc476c8aad5c1586bf96837946b852e683ee8f21e4df91dc140 |
|
_ast.rs
| https://github.com/RustPython/RustPython/pull/8160/files#diff-abdef7b5c5b2a09ab3af5a77d683e79ae937bd93b5411799efd4101aacbc7411 |
|
argument.rs
| https://github.com/RustPython/RustPython/pull/8160/files#diff-76e0293aefbbf0cabedb9a7ef93f6c5ec90e44d354d1c4eb728ebc26e4856eda |
|
constant.rs
| https://github.com/RustPython/RustPython/pull/8160/files#diff-e034dd68c25443accce09fe597891e293b75a44f28a14b00e1bb87fe83002f05 |
|
elif_else_clause.rs
| https://github.com/RustPython/RustPython/pull/8160/files#diff-34994a2d95613f9affe0b335c037d1581ca5868e03abbec7162e31c4cd10120d |
|
module.rs
| https://github.com/RustPython/RustPython/pull/8160/files#diff-fd9d7f2f5880965eb326b1a3e07f704227d4d996b3d2000dffe680721276d244 |
|
node.rs
| https://github.com/RustPython/RustPython/pull/8160/files#diff-f019f01b876ba772b7f443a8b1c199720dee18bd4258d5cb50e57e349e3e849e |
|
parameter.rs
| https://github.com/RustPython/RustPython/pull/8160/files#diff-a26303727a43e83e329dae268bc9ee1ff22e15e976ca0d24f8fb46ebdc282f6a |
|
pattern.rs
| https://github.com/RustPython/RustPython/pull/8160/files#diff-d27b9b28edd70c3dacf0d01d13b805c19153bca9106ddc735c5ac16b5b6b588f |
|
string.rs
| https://github.com/RustPython/RustPython/pull/8160/files#diff-ac334d16ec968460271dd03617accda2cd6d71249e2c6c01ad642ce92bd33f80 |
|
validate.rs
| https://github.com/RustPython/RustPython/pull/8160/files#diff-cdd49308b62ebe2aad47e1b68ba1b0df37d91dcf2510b63f52958aa98be9cc17 |
|
parse_folder.rs
| https://github.com/RustPython/RustPython/pull/8160/files#diff-5fb77c2b84b41a11aad7709df0a55bdd2d4161aa6eada01b4377da0b81c40be2 |
| .github/dependabot.yml | https://github.com/RustPython/RustPython/pull/8160/files#diff-dd4fbda47e51f1e35defb9275a9cd9c212ecde0b870cba89ddaaae65c5f3cd28 |
|
View file
| https://github.com/RustPython/RustPython/blob/b8d5c20f010ecf6193bdba6d650f69410f823d7b/.github/dependabot.yml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/8160/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/8160/files#diff-dd4fbda47e51f1e35defb9275a9cd9c212ecde0b870cba89ddaaae65c5f3cd28 |
|
| https://github.com/RustPython/RustPython/pull/8160/files#diff-dd4fbda47e51f1e35defb9275a9cd9c212ecde0b870cba89ddaaae65c5f3cd28 |
|
| https://github.com/RustPython/RustPython/pull/8160/files#diff-dd4fbda47e51f1e35defb9275a9cd9c212ecde0b870cba89ddaaae65c5f3cd28 |
|
| https://github.com/RustPython/RustPython/pull/8160/files#diff-dd4fbda47e51f1e35defb9275a9cd9c212ecde0b870cba89ddaaae65c5f3cd28 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8160/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8160/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |