René's URL Explorer Experiment


Title: Add Tool.default_command() to eliminate duplication in CI steps and help messages by Copilot · Pull Request #1088 · usethis-python/usethis-python · GitHub

Open Graph Title: Add Tool.default_command() to eliminate duplication in CI steps and help messages by Copilot · Pull Request #1088 · usethis-python/usethis-python

X Title: Add Tool.default_command() to eliminate duplication in CI steps and help messages by Copilot · Pull Request #1088 · 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. - Add Tool.default_command() to eliminate duplication in CI steps and help messages by Copilot · Pull Request #1088 · usethis-python/usethis-python

Open Graph Description: The get_bitbucket_steps() methods across tool implementations contained significant duplication, repeating the same command strings used in help messages. This PR introduces Tool.default_command() ...

X Description: The get_bitbucket_steps() methods across tool implementations contained significant duplication, repeating the same command strings used in help messages. This PR introduces Tool.default_command() ...

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:084f15b0-0ce8-ab0a-8331-52032e4648f4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA1E6:2C345B:17EC5F5:2074AE8:6A4C8CF4
html-safe-nonceab7f90d8095945d01084cd5fbf8a939cbbc13a26ed77a0a94dd7a79de1deefdc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUU2OjJDMzQ1QjoxN0VDNUY1OjIwNzRBRTg6NkE0QzhDRjQiLCJ2aXNpdG9yX2lkIjoiMzg4MzE2Mjg4MjgwMDM4OTM2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace93411a2b95349d2d6940bcc98de677fb50c484c980abd926fdc72f833013b30
hovercard-subject-tagpull_request:2979859840
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/usethis-python/usethis-python/1088/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/595ff9528e836c35b774428364855b0149a0416f7f879b8abc39374ebc2772c1/usethis-python/usethis-python/pull/1088
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/595ff9528e836c35b774428364855b0149a0416f7f879b8abc39374ebc2772c1/usethis-python/usethis-python/pull/1088
og:image:altThe get_bitbucket_steps() methods across tool implementations contained significant duplication, repeating the same command strings used in help messages. This PR introduces Tool.default_command() ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameCopilot
hostnamegithub.com
expected-hostnamegithub.com
None3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7a2dede45637df6b92ddcfe2a557e67d4b5854ae
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/usethis-python/usethis-python/pull/1088#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fusethis-python%2Fusethis-python%2Fpull%2F1088
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%2F1088
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
Reloadhttps://github.com/usethis-python/usethis-python/pull/1088
Reloadhttps://github.com/usethis-python/usethis-python/pull/1088
Reloadhttps://github.com/usethis-python/usethis-python/pull/1088
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1088
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
nathanjmcdougallhttps://github.com/nathanjmcdougall
mainhttps://github.com/usethis-python/usethis-python/tree/main
copilot/create-tool-default-command-methodhttps://github.com/usethis-python/usethis-python/tree/copilot/create-tool-default-command-method
Conversationhttps://github.com/usethis-python/usethis-python/pull/1088
Commits8 (8)https://github.com/usethis-python/usethis-python/pull/1088/commits
Checkshttps://github.com/usethis-python/usethis-python/pull/1088/checks
Files changedhttps://github.com/usethis-python/usethis-python/pull/1088/files
Add Tool.default_command() to eliminate duplication in CI steps and help messageshttps://github.com/usethis-python/usethis-python/pull/1088#top
nathanjmcdougallhttps://github.com/nathanjmcdougall
mainhttps://github.com/usethis-python/usethis-python/tree/main
copilot/create-tool-default-command-methodhttps://github.com/usethis-python/usethis-python/tree/copilot/create-tool-default-command-method
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Nov 5, 2025https://github.com/usethis-python/usethis-python/pull/1088#issue-3590329297
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1088
Create a Tool.default_command method #1077https://github.com/usethis-python/usethis-python/issues/1077
@copilothttps://gh.io/copilot-coding-agent-docs
@nathanjmcdougallhttps://github.com/nathanjmcdougall
Create a Tool.default_command method #1077https://github.com/usethis-python/usethis-python/issues/1077
set things up for youhttps://github.com/usethis-python/usethis-python/issues/new?title=%E2%9C%A8+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1088
https://github.com/apps/copilot-swe-agent
Initial planhttps://github.com/usethis-python/usethis-python/pull/1088/commits/806bf247249e17b56236f9399f14aa41783d5e19
806bf24https://github.com/usethis-python/usethis-python/pull/1088/commits/806bf247249e17b56236f9399f14aa41783d5e19
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
nathanjmcdougallhttps://github.com/nathanjmcdougall
Nov 5, 2025https://github.com/usethis-python/usethis-python/pull/1088#event-20725986144
started workhttps://github.com/usethis-python/usethis-python/sessions/ba53e7cd-bb67-40b8-84da-3800123ec387
nathanjmcdougallhttps://github.com/nathanjmcdougall
November 5, 2025 10:29https://github.com/usethis-python/usethis-python/pull/1088#event-20725993123
View session https://github.com/usethis-python/usethis-python/sessions/ba53e7cd-bb67-40b8-84da-3800123ec387
Copilothttps://github.com/apps/copilot-swe-agent
November 5, 2025 10:39https://github.com/usethis-python/usethis-python/pull/1088#commits-pushed-8e3a83e
https://github.com/apps/copilot-swe-agent
https://github.com/nathanjmcdougall
Add default_command method to Tool protocol and implement in tool sub…https://github.com/usethis-python/usethis-python/pull/1088/commits/8e3a83eea24544b2a94a517a8766ff8697026fb0
8e3a83ehttps://github.com/usethis-python/usethis-python/pull/1088/commits/8e3a83eea24544b2a94a517a8766ff8697026fb0
https://github.com/apps/copilot-swe-agent
https://github.com/nathanjmcdougall
Add tests for default_command methodhttps://github.com/usethis-python/usethis-python/pull/1088/commits/915adb425f525680651bf8ce7b4a0c90f50a6d07
915adb4https://github.com/usethis-python/usethis-python/pull/1088/commits/915adb425f525680651bf8ce7b4a0c90f50a6d07
https://github.com/apps/copilot-swe-agent
https://github.com/nathanjmcdougall
Add default get_bitbucket_steps implementation using default_commandhttps://github.com/usethis-python/usethis-python/pull/1088/commits/4a43658829033abed1e98ffb01f271fb70456056
4a43658https://github.com/usethis-python/usethis-python/pull/1088/commits/4a43658829033abed1e98ffb01f271fb70456056
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Nov 5, 2025https://github.com/usethis-python/usethis-python/pull/1088#event-20726636715
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
nathanjmcdougallhttps://github.com/nathanjmcdougall
November 5, 2025 10:56https://github.com/usethis-python/usethis-python/pull/1088#event-20726638755
finished workhttps://github.com/usethis-python/usethis-python/sessions/ba53e7cd-bb67-40b8-84da-3800123ec387
nathanjmcdougallhttps://github.com/nathanjmcdougall
November 5, 2025 10:56https://github.com/usethis-python/usethis-python/pull/1088#event-20726638910
https://github.com/nathanjmcdougall
nathanjmcdougallhttps://github.com/nathanjmcdougall
Nov 5, 2025 https://github.com/usethis-python/usethis-python/pull/1088#ref-issue-3590456373
Enable PLC Ruff rules #1092 https://github.com/usethis-python/usethis-python/issues/1092
https://github.com/nathanjmcdougall
nathanjmcdougallhttps://github.com/nathanjmcdougall
Nov 5, 2025 https://github.com/usethis-python/usethis-python/pull/1088#pullrequestreview-3421474612
View reviewed changes https://github.com/usethis-python/usethis-python/pull/1088/files/4a43658829033abed1e98ffb01f271fb70456056
src/usethis/_tool/base.pyhttps://github.com/usethis-python/usethis-python/pull/1088/files/4a43658829033abed1e98ffb01f271fb70456056#diff-5d6bc423e5b313d5aeba5e063fcde573c808a3df7738ed68bb94d82b92a005d7
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1088
src/usethis/_tool/impl/ruff.pyhttps://github.com/usethis-python/usethis-python/pull/1088/files/4a43658829033abed1e98ffb01f271fb70456056#diff-1e699d0510457a95850228c61721fa824d9f36afe36bef7fac427b72dc5a4223
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1088
tests/usethis/_tool/impl/test_ruff.pyhttps://github.com/usethis-python/usethis-python/pull/1088/files/4a43658829033abed1e98ffb01f271fb70456056#diff-81cd43314ec01b082164964df1e010cfde9e2d023172cb0a1c1d080988827317
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1088
started workhttps://github.com/usethis-python/usethis-python/sessions/6f248f94-dffa-4126-9323-2984f5f8a0f0
nathanjmcdougallhttps://github.com/nathanjmcdougall
November 5, 2025 11:49https://github.com/usethis-python/usethis-python/pull/1088#event-20727869060
View session https://github.com/usethis-python/usethis-python/sessions/6f248f94-dffa-4126-9323-2984f5f8a0f0
https://github.com/apps/copilot-swe-agent
https://github.com/nathanjmcdougall
Change default_command to raise NoDefaultToolCommand instead of retur…https://github.com/usethis-python/usethis-python/pull/1088/commits/ba484ae32517593f57e578354a77c7d9fe989828
ba484aehttps://github.com/usethis-python/usethis-python/pull/1088/commits/ba484ae32517593f57e578354a77c7d9fe989828
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
nathanjmcdougallhttps://github.com/nathanjmcdougall
November 5, 2025 12:00https://github.com/usethis-python/usethis-python/pull/1088#event-20728095581
finished workhttps://github.com/usethis-python/usethis-python/sessions/6f248f94-dffa-4126-9323-2984f5f8a0f0
nathanjmcdougallhttps://github.com/nathanjmcdougall
November 5, 2025 12:00https://github.com/usethis-python/usethis-python/pull/1088#event-20728096528
https://github.com/nathanjmcdougall
nathanjmcdougallhttps://github.com/nathanjmcdougall
Nov 5, 2025 https://github.com/usethis-python/usethis-python/pull/1088#pullrequestreview-3421553448
View reviewed changes https://github.com/usethis-python/usethis-python/pull/1088/files/ba484ae32517593f57e578354a77c7d9fe989828
nathanjmcdougallhttps://github.com/nathanjmcdougall
November 6, 2025 01:14https://github.com/usethis-python/usethis-python/pull/1088#commits-pushed-c6a5f82
https://github.com/nathanjmcdougall
Run formatterhttps://github.com/usethis-python/usethis-python/pull/1088/commits/c6a5f828435e1b1c25a6597a757a27c6501f6316
c6a5f82https://github.com/usethis-python/usethis-python/pull/1088/commits/c6a5f828435e1b1c25a6597a757a27c6501f6316
https://github.com/nathanjmcdougall
Merge branch 'main' into copilot/create-tool-default-command-methodhttps://github.com/usethis-python/usethis-python/pull/1088/commits/1b5cb3dd88c7adf69db1561e2bb106a4e0e6fa01
1b5cb3dhttps://github.com/usethis-python/usethis-python/pull/1088/commits/1b5cb3dd88c7adf69db1561e2bb106a4e0e6fa01
https://github.com/nathanjmcdougall
Comply with import layout ruleshttps://github.com/usethis-python/usethis-python/pull/1088/commits/ee1c1489de73c2cc5e1ec4dde1573d7755b14ba2
ee1c148https://github.com/usethis-python/usethis-python/pull/1088/commits/ee1c1489de73c2cc5e1ec4dde1573d7755b14ba2
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Nov 5, 2025https://github.com/usethis-python/usethis-python/pull/1088#issuecomment-3491049315
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1088
Codecovhttps://app.codecov.io/gh/usethis-python/usethis-python/pull/1088?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 pagehttps://github.com/usethis-python/usethis-python/pull/1088
https://github.com/apps/codspeed-hq
codspeed-hqhttps://github.com/apps/codspeed-hq
Nov 5, 2025https://github.com/usethis-python/usethis-python/pull/1088#issuecomment-3491049807
CodSpeed Performance Reporthttps://codspeed.io/usethis-python/usethis-python/branches/copilot%2Fcreate-tool-default-command-method?utm_source=github&utm_medium=comment&utm_content=header
#1088https://github.com/usethis-python/usethis-python/pull/1088
ee1c148https://github.com/usethis-python/usethis-python/commit/ee1c1489de73c2cc5e1ec4dde1573d7755b14ba2
cd89644https://github.com/usethis-python/usethis-python/commit/cd896445ea466a6d3f5da9ea6f435c2e78e70e9c
1https://github.com/usethis-python/usethis-python/pull/1088#user-content-fn-unexpected-base-a566256d3e8ecdf02895273b631d86bd
99a5ffbhttps://github.com/usethis-python/usethis-python/commit/99a5ffb50194c2050efdd374f55e85a00d4ba64d
cd89644https://github.com/usethis-python/usethis-python/commit/cd896445ea466a6d3f5da9ea6f435c2e78e70e9c
https://github.com/usethis-python/usethis-python/pull/1088#user-content-fnref-unexpected-base-a566256d3e8ecdf02895273b631d86bd
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1088
https://github.com/nathanjmcdougall
nathanjmcdougallhttps://github.com/nathanjmcdougall
November 5, 2025 19:21https://github.com/usethis-python/usethis-python/pull/1088#event-20739028043
https://github.com/nathanjmcdougall
nathanjmcdougallhttps://github.com/nathanjmcdougall
73f05e1https://github.com/usethis-python/usethis-python/commit/73f05e17c274bbd93e9c896928f9e784c9a6e0bf
Nov 5, 2025https://github.com/usethis-python/usethis-python/pull/1088#event-20739029806
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1088
https://github.com/nathanjmcdougall
nathanjmcdougallhttps://github.com/nathanjmcdougall
November 5, 2025 19:21https://github.com/usethis-python/usethis-python/pull/1088#event-20739030181
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fusethis-python%2Fusethis-python%2Fpull%2F1088
https://github.com/nathanjmcdougall
nathanjmcdougall https://github.com/nathanjmcdougall
https://github.com/usethis-python/usethis-python/pull/1088/files/ba484ae32517593f57e578354a77c7d9fe989828
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
Create a Tool.default_command method https://github.com/usethis-python/usethis-python/issues/1077
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1088
https://github.com/apps/copilot-swe-agent
https://github.com/nathanjmcdougall
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.