| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c1c4c882-64ec-fb86-0a71-e2c33f5e1488 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ACB2:39CFC7:721A22:A24BE5:6A4CAF25 |
| html-safe-nonce | c31aa577c1975b2f9013cb4fb5792940ea41068d538afe8b452ca3bcb6aaeff8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0IyOjM5Q0ZDNzo3MjFBMjI6QTI0QkU1OjZBNENBRjI1IiwidmlzaXRvcl9pZCI6IjgxODUwODIyNzQ4NTg3MDg3NzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 403e9c327402e07ea92ef054c5fdb1c7d651fd82fe0a5cb15a6b5a33ce42ca9e |
| hovercard-subject-tag | pull_request:2674947151 |
| 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/865/files |
| og:image | https://avatars.githubusercontent.com/u/18602289?s=400&v=4 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| 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 | ae90d426644ca15e89bacceb72e51f4e9dbf85f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/usethis-python/usethis-python/pull/865/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%2F865%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%2F865%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/865/files |
| Reload | https://github.com/usethis-python/usethis-python/pull/865/files |
| Reload | https://github.com/usethis-python/usethis-python/pull/865/files |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/865/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 |
| main | https://github.com/usethis-python/usethis-python/tree/main |
| 862-usethis-tool-import-linter-can-break-pyprojecttoml | https://github.com/usethis-python/usethis-python/tree/862-usethis-tool-import-linter-can-break-pyprojecttoml |
|
Conversation
4
| https://github.com/usethis-python/usethis-python/pull/865 |
|
Commits
10
| https://github.com/usethis-python/usethis-python/pull/865/commits |
|
Checks
20
| https://github.com/usethis-python/usethis-python/pull/865/checks |
|
Files changed
| https://github.com/usethis-python/usethis-python/pull/865/files |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/865/files |
|
Don't break Ruff TOML config when adding Import Linter
| https://github.com/usethis-python/usethis-python/pull/865/files#top |
|
Show all changes
10 commits
| https://github.com/usethis-python/usethis-python/pull/865/files |
|
1daeb03
Add failing tests
nathanjmcdougall Jul 17, 2025
| https://github.com/usethis-python/usethis-python/pull/865/commits/1daeb0385d7d6d415d64ba9171306309102e6fec |
|
bf83bc4
Use `_set_value_in_existing` in `TOMLFileManager.extend_list` to avoi…
nathanjmcdougall Jul 18, 2025
| https://github.com/usethis-python/usethis-python/pull/865/commits/bf83bc4e1485e330c2b45f11ef5581fbb86bf6eb |
|
3b3a7ce
Rework `RuleConfig` docstring for clarity
nathanjmcdougall Jul 18, 2025
| https://github.com/usethis-python/usethis-python/pull/865/commits/3b3a7ce2bfc01a630c939e3d0c89db9a9a776277 |
|
0496cb5
Tweak test output in `test_inp_rules_dont_break_config`
nathanjmcdougall Jul 18, 2025
| https://github.com/usethis-python/usethis-python/pull/865/commits/0496cb575c7bd40e0384f4bd91ea04d21b32cd9b |
|
a51389a
Fix incorrect issue number in comments
nathanjmcdougall Jul 18, 2025
| https://github.com/usethis-python/usethis-python/pull/865/commits/a51389a3f14d05a902e51e0931207a1ce8473ec5 |
|
d83dc44
Weaken test to drop irrelevant output
nathanjmcdougall Jul 18, 2025
| https://github.com/usethis-python/usethis-python/pull/865/commits/d83dc4483752b81b9f970e25df35fa15930ca8c4 |
|
4d98c8e
Merge branch 'main' into 862-usethis-tool-import-linter-can-break-pyp…
nathanjmcdougall Jul 18, 2025
| https://github.com/usethis-python/usethis-python/pull/865/commits/4d98c8e3e535a7696544f427b6f7dc530025fc58 |
|
a325af7
Generalize and strengthen `test_dependencies_added`
nathanjmcdougall Jul 18, 2025
| https://github.com/usethis-python/usethis-python/pull/865/commits/a325af7f662e1336a3b4eb63824f1e26ddbd2c76 |
|
9a4f8b8
Set CWD explicitly in `test_target_python_version` tests
nathanjmcdougall Jul 18, 2025
| https://github.com/usethis-python/usethis-python/pull/865/commits/9a4f8b808f87b3b898615e05b8226564e9a3b326 |
|
1275e71
use `uv_init_dir` in `test_inp_rules_dont_break_config` test
nathanjmcdougall Jul 18, 2025
| https://github.com/usethis-python/usethis-python/pull/865/commits/1275e719cdb552772d0440edc7f8f0633710a21d |
|
Clear filters
| https://github.com/usethis-python/usethis-python/pull/865/files |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/865/files |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/865/files |
|
io_.py
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-1ad6811721fde0e20a794bdea49701376ec5ccb901336f2caace1fa76960e1c4 |
|
rule.py
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-343a5067cfb9f35c9a01b7d1409e061ab9b7af5322301aee3a1ff3b0ab22cfce |
|
test_core_tool.py
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-ebc73c512a65745bdcc2bd242acbe30cee0360d3fd14694b4cd01f64e3520ff7 |
|
test_bitbucket_schema.py
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-6c09a6667e4789699a21fff92cd1cc9542d647d2a2037d864bdc1de965c5d22b |
|
test_pyproject_toml_io_.py
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-ab75675888a0174e211620e94c7d294fb49f41c51bb1edfa71d3913e5eaf3a0a |
|
test_pre_commit_schema.py
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-6d3ff38ad13a8ffa23d22179858b81343a875ea5e9daa25c8fcecf0d02d973bd |
|
test_lint.py
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-89f64c1bb0540622ea661506fb9849a5679add8805d09874fa45f363b298ce8a |
|
test_ruff.py
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-81cd43314ec01b082164964df1e010cfde9e2d023172cb0a1c1d080988827317 |
| src/usethis/_integrations/file/toml/io_.py | https://github.com/usethis-python/usethis-python/pull/865/files#diff-1ad6811721fde0e20a794bdea49701376ec5ccb901336f2caace1fa76960e1c4 |
|
View file
| https://github.com/usethis-python/usethis-python/blob/1275e719cdb552772d0440edc7f8f0633710a21d/src/usethis/_integrations/file/toml/io_.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/usethis-python/usethis-python/pull/865/{{ revealButtonHref }} |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-1ad6811721fde0e20a794bdea49701376ec5ccb901336f2caace1fa76960e1c4 |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-1ad6811721fde0e20a794bdea49701376ec5ccb901336f2caace1fa76960e1c4 |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/865/files |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-1ad6811721fde0e20a794bdea49701376ec5ccb901336f2caace1fa76960e1c4 |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-1ad6811721fde0e20a794bdea49701376ec5ccb901336f2caace1fa76960e1c4 |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-1ad6811721fde0e20a794bdea49701376ec5ccb901336f2caace1fa76960e1c4 |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-1ad6811721fde0e20a794bdea49701376ec5ccb901336f2caace1fa76960e1c4 |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-1ad6811721fde0e20a794bdea49701376ec5ccb901336f2caace1fa76960e1c4 |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-1ad6811721fde0e20a794bdea49701376ec5ccb901336f2caace1fa76960e1c4 |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-1ad6811721fde0e20a794bdea49701376ec5ccb901336f2caace1fa76960e1c4 |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-1ad6811721fde0e20a794bdea49701376ec5ccb901336f2caace1fa76960e1c4 |
| src/usethis/_tool/rule.py | https://github.com/usethis-python/usethis-python/pull/865/files#diff-343a5067cfb9f35c9a01b7d1409e061ab9b7af5322301aee3a1ff3b0ab22cfce |
|
View file
| https://github.com/usethis-python/usethis-python/blob/1275e719cdb552772d0440edc7f8f0633710a21d/src/usethis/_tool/rule.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/usethis-python/usethis-python/pull/865/{{ revealButtonHref }} |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-343a5067cfb9f35c9a01b7d1409e061ab9b7af5322301aee3a1ff3b0ab22cfce |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-343a5067cfb9f35c9a01b7d1409e061ab9b7af5322301aee3a1ff3b0ab22cfce |
| tests/usethis/_core/test_core_tool.py | https://github.com/usethis-python/usethis-python/pull/865/files#diff-ebc73c512a65745bdcc2bd242acbe30cee0360d3fd14694b4cd01f64e3520ff7 |
|
View file
| https://github.com/usethis-python/usethis-python/blob/1275e719cdb552772d0440edc7f8f0633710a21d/tests/usethis/_core/test_core_tool.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/usethis-python/usethis-python/pull/865/{{ revealButtonHref }} |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-ebc73c512a65745bdcc2bd242acbe30cee0360d3fd14694b4cd01f64e3520ff7 |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-ebc73c512a65745bdcc2bd242acbe30cee0360d3fd14694b4cd01f64e3520ff7 |
| tests/usethis/_integrations/ci/bitbucket/test_bitbucket_schema.py | https://github.com/usethis-python/usethis-python/pull/865/files#diff-6c09a6667e4789699a21fff92cd1cc9542d647d2a2037d864bdc1de965c5d22b |
|
View file
| https://github.com/usethis-python/usethis-python/blob/1275e719cdb552772d0440edc7f8f0633710a21d/tests/usethis/_integrations/ci/bitbucket/test_bitbucket_schema.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/usethis-python/usethis-python/pull/865/{{ revealButtonHref }} |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-6c09a6667e4789699a21fff92cd1cc9542d647d2a2037d864bdc1de965c5d22b |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-6c09a6667e4789699a21fff92cd1cc9542d647d2a2037d864bdc1de965c5d22b |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-6c09a6667e4789699a21fff92cd1cc9542d647d2a2037d864bdc1de965c5d22b |
| tests/usethis/_integrations/file/pyproject_toml/test_pyproject_toml_io_.py | https://github.com/usethis-python/usethis-python/pull/865/files#diff-ab75675888a0174e211620e94c7d294fb49f41c51bb1edfa71d3913e5eaf3a0a |
|
View file
| https://github.com/usethis-python/usethis-python/blob/1275e719cdb552772d0440edc7f8f0633710a21d/tests/usethis/_integrations/file/pyproject_toml/test_pyproject_toml_io_.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/usethis-python/usethis-python/pull/865/{{ revealButtonHref }} |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-ab75675888a0174e211620e94c7d294fb49f41c51bb1edfa71d3913e5eaf3a0a |
| tests/usethis/_integrations/pre_commit/test_pre_commit_schema.py | https://github.com/usethis-python/usethis-python/pull/865/files#diff-6d3ff38ad13a8ffa23d22179858b81343a875ea5e9daa25c8fcecf0d02d973bd |
|
View file
| https://github.com/usethis-python/usethis-python/blob/1275e719cdb552772d0440edc7f8f0633710a21d/tests/usethis/_integrations/pre_commit/test_pre_commit_schema.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/usethis-python/usethis-python/pull/865/{{ revealButtonHref }} |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-6d3ff38ad13a8ffa23d22179858b81343a875ea5e9daa25c8fcecf0d02d973bd |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-6d3ff38ad13a8ffa23d22179858b81343a875ea5e9daa25c8fcecf0d02d973bd |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-6d3ff38ad13a8ffa23d22179858b81343a875ea5e9daa25c8fcecf0d02d973bd |
| tests/usethis/_interface/test_lint.py | https://github.com/usethis-python/usethis-python/pull/865/files#diff-89f64c1bb0540622ea661506fb9849a5679add8805d09874fa45f363b298ce8a |
|
View file
| https://github.com/usethis-python/usethis-python/blob/1275e719cdb552772d0440edc7f8f0633710a21d/tests/usethis/_interface/test_lint.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/usethis-python/usethis-python/pull/865/{{ revealButtonHref }} |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-89f64c1bb0540622ea661506fb9849a5679add8805d09874fa45f363b298ce8a |
| tests/usethis/_tool/impl/test_ruff.py | https://github.com/usethis-python/usethis-python/pull/865/files#diff-81cd43314ec01b082164964df1e010cfde9e2d023172cb0a1c1d080988827317 |
|
View file
| https://github.com/usethis-python/usethis-python/blob/1275e719cdb552772d0440edc7f8f0633710a21d/tests/usethis/_tool/impl/test_ruff.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/usethis-python/usethis-python/pull/865/{{ revealButtonHref }} |
|
| https://github.com/usethis-python/usethis-python/pull/865/files#diff-81cd43314ec01b082164964df1e010cfde9e2d023172cb0a1c1d080988827317 |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/865/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 |