René's URL Explorer Experiment


Title: Don't break Ruff TOML config when adding Import Linter by nathanjmcdougall · Pull Request #865 · usethis-python/usethis-python · GitHub

Open Graph Title: Don't break Ruff TOML config when adding Import Linter by nathanjmcdougall · Pull Request #865 · usethis-python/usethis-python

Description: Automatically manage Python tooling and configuration: linters, formatters, and more. A CLI for declaratively configuring your Python projects following best practices. - Don't break Ruff TOML config when adding Import Linter by nathanjmcdougall · Pull Request #865 · usethis-python/usethis-python

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

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c1c4c882-64ec-fb86-0a71-e2c33f5e1488
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idACB2:39CFC7:721A22:A24BE5:6A4CAF25
html-safe-noncec31aa577c1975b2f9013cb4fb5792940ea41068d538afe8b452ca3bcb6aaeff8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0IyOjM5Q0ZDNzo3MjFBMjI6QTI0QkU1OjZBNENBRjI1IiwidmlzaXRvcl9pZCI6IjgxODUwODIyNzQ4NTg3MDg3NzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac403e9c327402e07ea92ef054c5fdb1c7d651fd82fe0a5cb15a6b5a33ce42ca9e
hovercard-subject-tagpull_request:2674947151
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/865/files
og:imagehttps://avatars.githubusercontent.com/u/18602289?s=400&v=4
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c
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
releaseae90d426644ca15e89bacceb72e51f4e9dbf85f7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 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%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
Reloadhttps://github.com/usethis-python/usethis-python/pull/865/files
Reloadhttps://github.com/usethis-python/usethis-python/pull/865/files
Reloadhttps://github.com/usethis-python/usethis-python/pull/865/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/865/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
862-usethis-tool-import-linter-can-break-pyprojecttomlhttps://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 pagehttps://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 pagehttps://github.com/usethis-python/usethis-python/pull/865/files
Please reload this pagehttps://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_.pyhttps://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 pagehttps://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.pyhttps://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.pyhttps://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.pyhttps://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_.pyhttps://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.pyhttps://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.pyhttps://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.pyhttps://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 pagehttps://github.com/usethis-python/usethis-python/pull/865/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.