| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d30f55e8-3551-9053-ef97-9c5e7b120138 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A9AC:D9F12:6152DB:8FEC4C:6A4E0F69 |
| html-safe-nonce | c5fcb279bc6bb8a9c3c3e4e4aad97e103abae5d2649b379cdd982d48d56ee998 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOUFDOkQ5RjEyOjYxNTJEQjo4RkVDNEM6NkE0RTBGNjkiLCJ2aXNpdG9yX2lkIjoiNDMzNTY0NjE2NTY5OTUzMDYwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ad1ef532c425ef00ff292191427b21bf8096b26db0830a1f66684298fb450015 |
| hovercard-subject-tag | pull_request:2126428061 |
| 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/usethis-python/usethis-python/pull/25/files |
| twitter:image | https://avatars.githubusercontent.com/u/18602289?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/18602289?s=400&v=4 |
| og:image:alt | Resolves #22. |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | df0492960db29b4938cb72070351d6b1d0c6c0767b27ceb8394bbf4fcc0223c6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 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 | 51470c353b8a1f52a88d3e3cc2014b17ab8cc1ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/usethis-python/usethis-python/pull/25/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%2F25%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/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%2F25%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 |
| Reload | https://github.com/usethis-python/usethis-python/pull/25/files |
| Reload | https://github.com/usethis-python/usethis-python/pull/25/files |
| Reload | https://github.com/usethis-python/usethis-python/pull/25/files |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/25/files |
|
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 |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fusethis-python%2Fusethis-python%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=%2Fusethis-python%2Fusethis-python%2Fissues%2Fnew%2Fchoose |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| develop | https://github.com/usethis-python/usethis-python/tree/develop |
| feature/22-implement-usethis-tool-pre-commit | https://github.com/usethis-python/usethis-python/tree/feature/22-implement-usethis-tool-pre-commit |
|
Conversation
0
| https://github.com/usethis-python/usethis-python/pull/25 |
|
Commits
10
| https://github.com/usethis-python/usethis-python/pull/25/commits |
|
Checks
0
| https://github.com/usethis-python/usethis-python/pull/25/checks |
|
Files changed
| https://github.com/usethis-python/usethis-python/pull/25/files |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/25/files |
|
Feature/22 implement usethis tool pre commit
| https://github.com/usethis-python/usethis-python/pull/25/files#top |
|
Show all changes
10 commits
| https://github.com/usethis-python/usethis-python/pull/25/files |
|
7c522ad
Add deptry function which installs deptry via uv as a dev dependency.
nathanjmcdougall Sep 12, 2024
| https://github.com/usethis-python/usethis-python/pull/25/commits/7c522ad9b30a584c632750ab1f217b44d8db319e |
|
8d2947f
Add progress message for usethis tool deptry.
nathanjmcdougall Sep 12, 2024
| https://github.com/usethis-python/usethis-python/pull/25/commits/8d2947f0ce8464a55c0e62e7d4bc3846f00e0042 |
|
bef61ec
Add tests for running deptry after calling `usethis tool deptry`.
nathanjmcdougall Sep 12, 2024
| https://github.com/usethis-python/usethis-python/pull/25/commits/bef61ecfec859c0a1c9b26f2f48b6e7228c2ba03 |
|
74ac7a1
Configure the package as a CLI app using typer.
nathanjmcdougall Sep 12, 2024
| https://github.com/usethis-python/usethis-python/pull/25/commits/74ac7a1102fb2b871228ef95a453245ed651bef4 |
|
10738b9
Add pre_commit function to add pre-commit as a dev dep
nathanjmcdougall Oct 5, 2024
| https://github.com/usethis-python/usethis-python/pull/25/commits/10738b93e4a6dd2e3a38a97bd012ca76b6278ec6 |
|
f173ce6
Create a .pre-commit-config.yaml file automatically.
nathanjmcdougall Oct 5, 2024
| https://github.com/usethis-python/usethis-python/pull/25/commits/f173ce6c2e9ae2e1e59fe7245c6fa8a632c8a28a |
|
f4d22e0
Add complete logic for adding pre-commit.
nathanjmcdougall Oct 15, 2024
| https://github.com/usethis-python/usethis-python/pull/25/commits/f4d22e09253a97c240a39f525ab047a30b7d88c1 |
|
7260106
Update lockfile
nathanjmcdougall Oct 15, 2024
| https://github.com/usethis-python/usethis-python/pull/25/commits/72601067fc9b552be20c798fdc1768b9affb54c9 |
|
9df324c
Setup git user in CI
nathanjmcdougall Oct 15, 2024
| https://github.com/usethis-python/usethis-python/pull/25/commits/9df324c8fa9ad0c66842c123fb7d2cfded09b551 |
|
95e02cd
Use global git user config.
nathanjmcdougall Oct 15, 2024
| https://github.com/usethis-python/usethis-python/pull/25/commits/95e02cdcae4e9bc345d4d289ce99abf437f266e4 |
|
Clear filters
| https://github.com/usethis-python/usethis-python/pull/25/files |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/25/files |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/25/files |
|
ci.yml
| https://github.com/usethis-python/usethis-python/pull/25/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f |
|
pyproject.toml
| https://github.com/usethis-python/usethis-python/pull/25/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
core.py
| https://github.com/usethis-python/usethis-python/pull/25/files#diff-ac69bd99875e59cecae347ec508c6ba5feb6dc4c464a4c648351e9d263b7385e |
|
_git.py
| https://github.com/usethis-python/usethis-python/pull/25/files#diff-0ee2855dfbc75fe63e7bbff49bf9b959bac83a86db12ad00a501539eee0fffef |
|
config.py
| https://github.com/usethis-python/usethis-python/pull/25/files#diff-2ba80f883dd884ef9a4d96e962c6441652686c3fd2eb0adacdeea28023ce891b |
|
core.py
| https://github.com/usethis-python/usethis-python/pull/25/files#diff-19338d34e1d19e92cbb6295b4c5dd0df991acf49f4069f3de2b6e7a1088583b4 |
|
_test.py
| https://github.com/usethis-python/usethis-python/pull/25/files#diff-187edfb64a13753fb454cb8a0d2194f15fd406d2234295f6d7eae8b5f1af72da |
|
_tool.py
| https://github.com/usethis-python/usethis-python/pull/25/files#diff-2349a752c234375416ad1d4ef44e39de8f1cdb603c622ee807dfeabd4d5169b9 |
|
tool.py
| https://github.com/usethis-python/usethis-python/pull/25/files#diff-e3e3fb667fa678cca53f6b01dfd448dd01381ad5e4b6f0f7c028e974878c8d34 |
|
test_pre_commit.py
| https://github.com/usethis-python/usethis-python/pull/25/files#diff-e5edf39680ff1a7a1685e575d67eb99385c28fa790057317fc5d3afc6142e3c7 |
|
test_tool.py
| https://github.com/usethis-python/usethis-python/pull/25/files#diff-d0c46df5505d82e91d22c1621a47a24867a5b7b143009e7b94c8121a12d2f729 |
|
uv.lock
| https://github.com/usethis-python/usethis-python/pull/25/files#diff-84321598744d84dbee2318e634c74c9aae39a1c253f1c4bd17ebf9ef2f807b11 |
| .github/workflows/ci.yml | https://github.com/usethis-python/usethis-python/pull/25/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f |
|
View file
| https://github.com/usethis-python/usethis-python/blob/95e02cdcae4e9bc345d4d289ce99abf437f266e4/.github/workflows/ci.yml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/usethis-python/usethis-python/pull/25/{{ revealButtonHref }} |
|
| https://github.com/usethis-python/usethis-python/pull/25/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f |
|
| https://github.com/usethis-python/usethis-python/pull/25/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f |
| pyproject.toml | https://github.com/usethis-python/usethis-python/pull/25/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
View file
| https://github.com/usethis-python/usethis-python/blob/95e02cdcae4e9bc345d4d289ce99abf437f266e4/pyproject.toml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/usethis-python/usethis-python/pull/25/{{ revealButtonHref }} |
|
| https://github.com/usethis-python/usethis-python/pull/25/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
|
| https://github.com/usethis-python/usethis-python/pull/25/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 |
| src/usethis/_deptry/core.py | https://github.com/usethis-python/usethis-python/pull/25/files#diff-ac69bd99875e59cecae347ec508c6ba5feb6dc4c464a4c648351e9d263b7385e |
|
View file
| https://github.com/usethis-python/usethis-python/blob/95e02cdcae4e9bc345d4d289ce99abf437f266e4/src/usethis/_deptry/core.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/usethis-python/usethis-python/pull/25/{{ revealButtonHref }} |
| src/usethis/_git.py | https://github.com/usethis-python/usethis-python/pull/25/files#diff-0ee2855dfbc75fe63e7bbff49bf9b959bac83a86db12ad00a501539eee0fffef |
|
View file
| https://github.com/usethis-python/usethis-python/blob/95e02cdcae4e9bc345d4d289ce99abf437f266e4/src/usethis/_git.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/usethis-python/usethis-python/pull/25/{{ revealButtonHref }} |
| src/usethis/_pre_commit/config.py | https://github.com/usethis-python/usethis-python/pull/25/files#diff-2ba80f883dd884ef9a4d96e962c6441652686c3fd2eb0adacdeea28023ce891b |
|
View file
| https://github.com/usethis-python/usethis-python/blob/95e02cdcae4e9bc345d4d289ce99abf437f266e4/src/usethis/_pre_commit/config.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/usethis-python/usethis-python/pull/25/{{ revealButtonHref }} |
| src/usethis/_pre_commit/core.py | https://github.com/usethis-python/usethis-python/pull/25/files#diff-19338d34e1d19e92cbb6295b4c5dd0df991acf49f4069f3de2b6e7a1088583b4 |
|
View file
| https://github.com/usethis-python/usethis-python/blob/95e02cdcae4e9bc345d4d289ce99abf437f266e4/src/usethis/_pre_commit/core.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/usethis-python/usethis-python/pull/25/{{ revealButtonHref }} |
| src/usethis/_test.py | https://github.com/usethis-python/usethis-python/pull/25/files#diff-187edfb64a13753fb454cb8a0d2194f15fd406d2234295f6d7eae8b5f1af72da |
|
View file
| https://github.com/usethis-python/usethis-python/blob/95e02cdcae4e9bc345d4d289ce99abf437f266e4/src/usethis/_test.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/usethis-python/usethis-python/pull/25/{{ revealButtonHref }} |
| src/usethis/_tool.py | https://github.com/usethis-python/usethis-python/pull/25/files#diff-2349a752c234375416ad1d4ef44e39de8f1cdb603c622ee807dfeabd4d5169b9 |
|
View file
| https://github.com/usethis-python/usethis-python/blob/95e02cdcae4e9bc345d4d289ce99abf437f266e4/src/usethis/_tool.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/usethis-python/usethis-python/pull/25/{{ revealButtonHref }} |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/25/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 |