René's URL Explorer Experiment


Title: Move test suite structure expectations into a prek hook by Copilot · Pull Request #1583 · usethis-python/usethis-python · GitHub

Open Graph Title: Move test suite structure expectations into a prek hook by Copilot · Pull Request #1583 · usethis-python/usethis-python

X Title: Move test suite structure expectations into a prek hook by Copilot · Pull Request #1583 · usethis-python/usethis-python

Description: The test skeleton check (every tests/usethis/**/test_*.py must have a matching source module) was enforced as a pytest test. This belongs in the prek hook pipeline where other structural/convention checks live. New hook hooks/check-test-skeleton.py: Pure-Python bespoke hook that validates test-to-source module correspondence across four naming patterns (direct, underscore-prefixed, parent-stripped, underscore-parent-stripped). Reports all mismatches at once rather than failing on the first. Wired into .pre-commit-config.yaml: Local system hook, priority: 0, placed alongside the other bespoke check hooks. Removed test_skeleton_matches from tests/test_suite.py: The fixture-related test_uv_init_not_git_repo test remains. ⌨️ Start Copilot coding agent tasks without leaving your editor — available in VS Code, Visual Studio, JetBrains IDEs and Eclipse.

Open Graph Description: The test skeleton check (every tests/usethis/**/test_*.py must have a matching source module) was enforced as a pytest test. This belongs in the prek hook pipeline where other structural/convention...

X Description: The test skeleton check (every tests/usethis/**/test_*.py must have a matching source module) was enforced as a pytest test. This belongs in the prek hook pipeline where other structural/convention...

Opengraph URL: https://github.com/usethis-python/usethis-python/pull/1583

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:969253a8-d2b8-996d-ab41-54a937487483
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id836A:29AC78:1C54ED4:290A889:6A4CFB82
html-safe-nonceb1ef8005d4d29aa5e28bbe6b06e57bd3c2a7984e54bda47bbfb37f5b4030aa83
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzZBOjI5QUM3ODoxQzU0RUQ0OjI5MEE4ODk6NkE0Q0ZCODIiLCJ2aXNpdG9yX2lkIjoiNjQ5MTc4OTMzNTM1MTU4OTc2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0f570fa3aeeb86566f0740ffad68d4b96d78de44448efcc97f0a557af63683c2
hovercard-subject-tagpull_request:3455110724
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/usethis-python/usethis-python/pull/1583/files
twitter:imagehttps://avatars.githubusercontent.com/in/1143301?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/in/1143301?s=400&v=4
og:image:altThe test skeleton check (every tests/usethis/**/test_*.py must have a matching source module) was enforced as a pytest test. This belongs in the prek hook pipeline where other structural/convention...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None31e4db13a9e20081f2fac78f441659a6576e582bbb15e153f9c7fb6473aa29f5
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/usethis-python/usethis-python git https://github.com/usethis-python/usethis-python.git
octolytics-dimension-user_id216362695
octolytics-dimension-user_loginusethis-python
octolytics-dimension-repository_id842189705
octolytics-dimension-repository_nwousethis-python/usethis-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id842189705
octolytics-dimension-repository_network_root_nwousethis-python/usethis-python
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
release8307e9ba117a26e92a64fb1daf085d795a6552ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/usethis-python/usethis-python/pull/1583/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fusethis-python%2Fusethis-python%2Fpull%2F1583%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/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/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/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%2Fusethis-python%2Fusethis-python%2Fpull%2F1583%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=usethis-python%2Fusethis-python
Reloadhttps://github.com/usethis-python/usethis-python/pull/1583/files
Reloadhttps://github.com/usethis-python/usethis-python/pull/1583/files
Reloadhttps://github.com/usethis-python/usethis-python/pull/1583/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1583/files
usethis-python https://github.com/usethis-python
usethis-pythonhttps://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
Sign up for GitHub https://github.com/signup?return_to=%2Fusethis-python%2Fusethis-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fusethis-python%2Fusethis-python%2Fissues%2Fnew%2Fchoose
nathanjmcdougallhttps://github.com/nathanjmcdougall
mainhttps://github.com/usethis-python/usethis-python/tree/main
copilot/move-test-suite-expectations-prek-hookhttps://github.com/usethis-python/usethis-python/tree/copilot/move-test-suite-expectations-prek-hook
Conversation 2 https://github.com/usethis-python/usethis-python/pull/1583
Commits 4 https://github.com/usethis-python/usethis-python/pull/1583/commits
Checks 20 https://github.com/usethis-python/usethis-python/pull/1583/checks
Files changed https://github.com/usethis-python/usethis-python/pull/1583/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1583/files
Move test suite structure expectations into a prek hook https://github.com/usethis-python/usethis-python/pull/1583/files#top
Show all changes 4 commits https://github.com/usethis-python/usethis-python/pull/1583/files
e5d8e26 Initial plan Copilot Mar 27, 2026 https://github.com/usethis-python/usethis-python/pull/1583/commits/e5d8e260c0719d0a67868d3eadead56ef67d1ca8
1590157 Move test_skeleton_matches into a bespoke prek hook Copilot Mar 27, 2026 https://github.com/usethis-python/usethis-python/pull/1583/commits/1590157ba193dd1001f353cb53b21bf8a905f604
df8bbfb Address code review: extract duplicated parent prefix into variable Copilot Mar 27, 2026 https://github.com/usethis-python/usethis-python/pull/1583/commits/df8bbfb787c2db79742373b88b7c87332607b3cc
a5eb4e3 Merge branch 'main' into copilot/move-test-suite-expectations-prek-hook nathanjmcdougall Mar 27, 2026 https://github.com/usethis-python/usethis-python/pull/1583/commits/a5eb4e3e0b6bcb362a79a0391c8afc95a729b8cf
Clear filters https://github.com/usethis-python/usethis-python/pull/1583/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1583/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1583/files
.pre-commit-config.yaml https://github.com/usethis-python/usethis-python/pull/1583/files#diff-63a9c44a44acf85fea213a857769990937107cf072831e1a26808cfde9d096b9
check-test-skeleton.py https://github.com/usethis-python/usethis-python/pull/1583/files#diff-5f50650ba0b50bb940d566fae88ec5600d6cabd4728715fc710277f17190c784
test_suite.py https://github.com/usethis-python/usethis-python/pull/1583/files#diff-61cca8dfd43592a697763cc4218066ca4352ce8458097c59238a1a629ce8ae42
.pre-commit-config.yamlhttps://github.com/usethis-python/usethis-python/pull/1583/files#diff-63a9c44a44acf85fea213a857769990937107cf072831e1a26808cfde9d096b9
View file https://github.com/usethis-python/usethis-python/blob/a5eb4e3e0b6bcb362a79a0391c8afc95a729b8cf/.pre-commit-config.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/1583/{{ revealButtonHref }}
https://github.com/usethis-python/usethis-python/pull/1583/files#diff-63a9c44a44acf85fea213a857769990937107cf072831e1a26808cfde9d096b9
https://github.com/usethis-python/usethis-python/pull/1583/files#diff-63a9c44a44acf85fea213a857769990937107cf072831e1a26808cfde9d096b9
https://github.com/usethis-python/usethis-python/pull/1583/files#diff-63a9c44a44acf85fea213a857769990937107cf072831e1a26808cfde9d096b9
hooks/check-test-skeleton.pyhttps://github.com/usethis-python/usethis-python/pull/1583/files#diff-5f50650ba0b50bb940d566fae88ec5600d6cabd4728715fc710277f17190c784
View file https://github.com/usethis-python/usethis-python/blob/a5eb4e3e0b6bcb362a79a0391c8afc95a729b8cf/hooks/check-test-skeleton.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/1583/{{ revealButtonHref }}
tests/test_suite.pyhttps://github.com/usethis-python/usethis-python/pull/1583/files#diff-61cca8dfd43592a697763cc4218066ca4352ce8458097c59238a1a629ce8ae42
View file https://github.com/usethis-python/usethis-python/blob/a5eb4e3e0b6bcb362a79a0391c8afc95a729b8cf/tests/test_suite.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/1583/{{ revealButtonHref }}
https://github.com/usethis-python/usethis-python/pull/1583/files#diff-61cca8dfd43592a697763cc4218066ca4352ce8458097c59238a1a629ce8ae42
https://github.com/usethis-python/usethis-python/pull/1583/files#diff-61cca8dfd43592a697763cc4218066ca4352ce8458097c59238a1a629ce8ae42
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1583/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.