| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:9e83d951-5065-966b-adf1-0945887fbf1e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 906C:3A2E82:3D633A:545155:6A4DC604 |
| html-safe-nonce | 9a20bfdc72dd7555408ad85467a6fec87d51afae6088017025ac13db23096283 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDZDOjNBMkU4MjozRDYzM0E6NTQ1MTU1OjZBNERDNjA0IiwidmlzaXRvcl9pZCI6IjU2MzM5MjAyNTk5MzUwMjg3NDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 047120da5e96a11a5c93c72d91f4b775e9354b531cdebdb6777188ee009015b4 |
| hovercard-subject-tag | pull_request:3456558804 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/usethis-python/usethis-python/1606/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/67d0bfbd30ffb633f5291909872c1d966e5392f065d65fe942c9db7825f46199/usethis-python/usethis-python/pull/1606 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/67d0bfbd30ffb633f5291909872c1d966e5392f065d65fe942c9db7825f46199/usethis-python/usethis-python/pull/1606 |
| og:image:alt | Three tool specs (ty, deptry, import_linter) each duplicated ~40 lines of identical backend dispatch logic to construct a local system hook PreCommitConfig. This adds a single classmethod that enca... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Copilot |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-cache |
| go-import | github.com/usethis-python/usethis-python git https://github.com/usethis-python/usethis-python.git |
| octolytics-dimension-user_id | 216362695 |
| octolytics-dimension-user_login | usethis-python |
| octolytics-dimension-repository_id | 842189705 |
| octolytics-dimension-repository_nwo | usethis-python/usethis-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 842189705 |
| octolytics-dimension-repository_network_root_nwo | usethis-python/usethis-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/usethis-python/usethis-python/pull/1606#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fusethis-python%2Fusethis-python%2Fpull%2F1606 |
| 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/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/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/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%2Fusethis-python%2Fusethis-python%2Fpull%2F1606 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=usethis-python%2Fusethis-python |
| Reload | https://github.com/usethis-python/usethis-python/pull/1606 |
| Reload | https://github.com/usethis-python/usethis-python/pull/1606 |
| Reload | https://github.com/usethis-python/usethis-python/pull/1606 |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/1606 |
|
usethis-python
| https://github.com/usethis-python |
| usethis-python | https://github.com/usethis-python/usethis-python |
|
Notifications
| https://github.com/login?return_to=%2Fusethis-python%2Fusethis-python |
|
Fork
5
| https://github.com/login?return_to=%2Fusethis-python%2Fusethis-python |
|
Star
19
| https://github.com/login?return_to=%2Fusethis-python%2Fusethis-python |
|
Code
| https://github.com/usethis-python/usethis-python |
|
Issues
163
| https://github.com/usethis-python/usethis-python/issues |
|
Pull requests
4
| https://github.com/usethis-python/usethis-python/pulls |
|
Actions
| https://github.com/usethis-python/usethis-python/actions |
|
Security and quality
0
| https://github.com/usethis-python/usethis-python/security |
|
Insights
| https://github.com/usethis-python/usethis-python/pulse |
|
Code
| https://github.com/usethis-python/usethis-python |
|
Issues
| https://github.com/usethis-python/usethis-python/issues |
|
Pull requests
| https://github.com/usethis-python/usethis-python/pulls |
|
Actions
| https://github.com/usethis-python/usethis-python/actions |
|
Security and quality
| https://github.com/usethis-python/usethis-python/security |
|
Insights
| https://github.com/usethis-python/usethis-python/pulse |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| main | https://github.com/usethis-python/usethis-python/tree/main |
| copilot/functionalize-system-hook-config-method | https://github.com/usethis-python/usethis-python/tree/copilot/functionalize-system-hook-config-method |
| Conversation | https://github.com/usethis-python/usethis-python/pull/1606 |
| Commits4 (4) | https://github.com/usethis-python/usethis-python/pull/1606/commits |
| Checks | https://github.com/usethis-python/usethis-python/pull/1606/checks |
| Files changed | https://github.com/usethis-python/usethis-python/pull/1606/files |
| Add PreCommitConfig.from_system_hook() to deduplicate backend dispatch in tool specs | https://github.com/usethis-python/usethis-python/pull/1606#top |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| main | https://github.com/usethis-python/usethis-python/tree/main |
| copilot/functionalize-system-hook-config-method | https://github.com/usethis-python/usethis-python/tree/copilot/functionalize-system-hook-config-method |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| Mar 27, 2026 | https://github.com/usethis-python/usethis-python/pull/1606#issue-4151936332 |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/1606 |
| GitHub Mobile | https://gh.io/cca-mobile-docs |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/1606 |
|
| https://github.com/apps/copilot-swe-agent |
| Initial plan | https://github.com/usethis-python/usethis-python/pull/1606/commits/6855986ecae4b7857e589050c263860a67253286 |
| 6855986 | https://github.com/usethis-python/usethis-python/pull/1606/commits/6855986ecae4b7857e589050c263860a67253286 |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| Mar 27, 2026 | https://github.com/usethis-python/usethis-python/pull/1606#event-23969567929 |
| started work | https://github.com/usethis-python/usethis-python/sessions/aa582356-1027-48c0-b041-ee886b523f95 |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| March 27, 2026 11:54 | https://github.com/usethis-python/usethis-python/pull/1606#event-23969569902 |
|
View session
| https://github.com/usethis-python/usethis-python/sessions/aa582356-1027-48c0-b041-ee886b523f95 |
| Copilot | https://github.com/apps/copilot-swe-agent |
| March 27, 2026 12:06 | https://github.com/usethis-python/usethis-python/pull/1606#commits-pushed-9dfc7fd |
|
| https://github.com/apps/copilot-swe-agent |
|
| https://github.com/nathanjmcdougall |
| Add PreCommitConfig.from_system_hook() and refactor tool specs to use it | https://github.com/usethis-python/usethis-python/pull/1606/commits/9dfc7fdbdab22b8a72e690d0d88160167d0e426f |
| 9dfc7fd | https://github.com/usethis-python/usethis-python/pull/1606/commits/9dfc7fdbdab22b8a72e690d0d88160167d0e426f |
| https://github.com/usethis-python/usethis-python/sessions/aa582356-1027-48c0-b041-ee886b523f95 | https://github.com/usethis-python/usethis-python/sessions/aa582356-1027-48c0-b041-ee886b523f95 |
|
| https://github.com/apps/copilot-swe-agent |
|
| https://github.com/nathanjmcdougall |
| Fix PLR0913: reduce from_system_hook arguments to 5 | https://github.com/usethis-python/usethis-python/pull/1606/commits/ce35a9e2b6d363f4e90e632e96199b78d7ca869c |
| ce35a9e | https://github.com/usethis-python/usethis-python/pull/1606/commits/ce35a9e2b6d363f4e90e632e96199b78d7ca869c |
| https://github.com/usethis-python/usethis-python/sessions/aa582356-1027-48c0-b041-ee886b523f95 | https://github.com/usethis-python/usethis-python/sessions/aa582356-1027-48c0-b041-ee886b523f95 |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| Mar 27, 2026 | https://github.com/usethis-python/usethis-python/pull/1606#event-23970021103 |
| finished work | https://github.com/usethis-python/usethis-python/sessions/aa582356-1027-48c0-b041-ee886b523f95 |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| March 27, 2026 12:11 | https://github.com/usethis-python/usethis-python/pull/1606#event-23970024761 |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| March 27, 2026 12:11 | https://github.com/usethis-python/usethis-python/pull/1606#event-23970024873 |
| https://github.com/nathanjmcdougall |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
|
Mar 27, 2026
| https://github.com/usethis-python/usethis-python/pull/1606#pullrequestreview-4020947451 |
|
View reviewed changes
| https://github.com/usethis-python/usethis-python/pull/1606/files/ce35a9e2b6d363f4e90e632e96199b78d7ca869c |
| src/usethis/_tool/pre_commit.py | https://github.com/usethis-python/usethis-python/pull/1606/files/ce35a9e2b6d363f4e90e632e96199b78d7ca869c#diff-1a909bc8f54e86f3d1a47a9432e1ebf4a76def0770ac45396d357ef49dba7948 |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/1606 |
| started work | https://github.com/usethis-python/usethis-python/sessions/c33634f9-b1c1-4a84-83f2-5221294a049e |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| March 27, 2026 12:48 | https://github.com/usethis-python/usethis-python/pull/1606#event-23971016956 |
|
View session
| https://github.com/usethis-python/usethis-python/sessions/c33634f9-b1c1-4a84-83f2-5221294a049e |
|
| https://github.com/apps/copilot-swe-agent |
|
| https://github.com/nathanjmcdougall |
| Hardcode always_run=True, pass_filenames=False; remove require_serial | https://github.com/usethis-python/usethis-python/pull/1606/commits/a48ac590cb182427a89afc4b66efa84be8179850 |
| a48ac59 | https://github.com/usethis-python/usethis-python/pull/1606/commits/a48ac590cb182427a89afc4b66efa84be8179850 |
| https://github.com/usethis-python/usethis-python/sessions/c33634f9-b1c1-4a84-83f2-5221294a049e | https://github.com/usethis-python/usethis-python/sessions/c33634f9-b1c1-4a84-83f2-5221294a049e |
| https://github.com/nathanjmcdougall |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
|
Mar 27, 2026
| https://github.com/usethis-python/usethis-python/pull/1606#ref-issue-4152363160 |
|
Agent config: avoid introducing unused arguments to new functions
#1621
| https://github.com/usethis-python/usethis-python/issues/1621 |
| finished work | https://github.com/usethis-python/usethis-python/sessions/c33634f9-b1c1-4a84-83f2-5221294a049e |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| March 27, 2026 12:51 | https://github.com/usethis-python/usethis-python/pull/1606#event-23971111205 |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| March 27, 2026 12:51 | https://github.com/usethis-python/usethis-python/pull/1606#event-23971111370 |
| https://github.com/nathanjmcdougall |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
|
Mar 27, 2026
| https://github.com/usethis-python/usethis-python/pull/1606#pullrequestreview-4021009213 |
|
View reviewed changes
| https://github.com/usethis-python/usethis-python/pull/1606/files/a48ac590cb182427a89afc4b66efa84be8179850 |
| https://github.com/nathanjmcdougall |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| March 27, 2026 12:59 | https://github.com/usethis-python/usethis-python/pull/1606#event-23971343006 |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| temporarily deployed | https://github.com/usethis-python/usethis-python/actions/runs/23647026973/job/68882776801 |
| March 27, 2026 12:59 | https://github.com/usethis-python/usethis-python/pull/1606#event-23971343788 |
| https://github.com/apps/codecov |
| codecov | https://github.com/apps/codecov |
| Mar 27, 2026 | https://github.com/usethis-python/usethis-python/pull/1606#issuecomment-4142438397 |
| Codecov | https://app.codecov.io/gh/usethis-python/usethis-python/pull/1606?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=usethis-python |
| Let us know! | https://github.com/codecov/feedback/issues/255 |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/1606 |
| https://github.com/apps/codspeed-hq |
| codspeed-hq | https://github.com/apps/codspeed-hq |
| Mar 27, 2026 | https://github.com/usethis-python/usethis-python/pull/1606#issuecomment-4142447397 |
| a48ac59 | https://github.com/usethis-python/usethis-python/commit/a48ac590cb182427a89afc4b66efa84be8179850 |
| ee85faf | https://github.com/usethis-python/usethis-python/commit/ee85faf14b9221b517d78fe73485f83837491e41 |
| 1 | https://github.com/usethis-python/usethis-python/pull/1606#user-content-fn-unexpected-base-0924cd7ba3b0b97a600b6637b0c25445 |
|
| https://codspeed.io/usethis-python/usethis-python/branches/copilot%2Ffunctionalize-system-hook-config-method?utm_source=github&utm_medium=comment-v2&utm_content=button |
| 04719d1 | https://github.com/usethis-python/usethis-python/commit/04719d1b5c0e97b0fcc15fceca7f966b5c39b12e |
| ee85faf | https://github.com/usethis-python/usethis-python/commit/ee85faf14b9221b517d78fe73485f83837491e41 |
| ↩ | https://github.com/usethis-python/usethis-python/pull/1606#user-content-fnref-unexpected-base-0924cd7ba3b0b97a600b6637b0c25445 |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/1606 |
| https://github.com/nathanjmcdougall |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| 23296c2 | https://github.com/usethis-python/usethis-python/commit/23296c2eb11951112b40885d5d12c20ef070fe11 |
| Mar 27, 2026 | https://github.com/usethis-python/usethis-python/pull/1606#event-23971852688 |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/1606 |
| https://github.com/nathanjmcdougall |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| March 27, 2026 13:16 | https://github.com/usethis-python/usethis-python/pull/1606#event-23971853346 |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
|
Mar 28, 2026
| https://github.com/usethis-python/usethis-python/pull/1606#ref-pullrequest-4161950220 |
|
Add YAGNI for function parameters to usethis-python-functions skill
#1622
| https://github.com/usethis-python/usethis-python/pull/1622 |
| https://github.com/nathanjmcdougall |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| Mar 28, 2026 | https://github.com/usethis-python/usethis-python/pull/1606#event-24003607144 |
|
Functionalize system hook config method
#1605
| https://github.com/usethis-python/usethis-python/issues/1605 |
| https://github.co/hiddenchars |
| https://github.com/usethis-python/usethis-python/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fusethis-python%2Fusethis-python%2Fpull%2F1606 |
|
| https://github.com/nathanjmcdougall |
|
nathanjmcdougall
| https://github.com/nathanjmcdougall |
|
| https://github.com/usethis-python/usethis-python/pull/1606/files/a48ac590cb182427a89afc4b66efa84be8179850 |
|
| https://github.com/nathanjmcdougall |
|
nathanjmcdougall
| https://github.com/nathanjmcdougall |
|
Copilot code review
| https://github.com/apps/copilot-swe-agent |
|
Copilot
| https://github.com/apps/copilot-swe-agent |
|
Functionalize system hook config method
| https://github.com/usethis-python/usethis-python/issues/1605 |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/1606 |
|
| https://github.com/apps/copilot-swe-agent |
|
| https://github.com/nathanjmcdougall |
|
| 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 |