Title: Don't strictly require git in `usethis tool pre-commit` · Issue #578 · usethis-python/usethis-python · GitHub
Open Graph Title: Don't strictly require git in `usethis tool pre-commit` · Issue #578 · usethis-python/usethis-python
X Title: Don't strictly require git in `usethis tool pre-commit` · Issue #578 · usethis-python/usethis-python
Description: Motivation We might still want pre-commit e.g. for CI without installing it locally. So we shouldn't hard-fail if git isn't installed, we should just display a message explaining how to handle the situation. Summary of desired enhancemen...
Open Graph Description: Motivation We might still want pre-commit e.g. for CI without installing it locally. So we shouldn't hard-fail if git isn't installed, we should just display a message explaining how to handle the ...
X Description: Motivation We might still want pre-commit e.g. for CI without installing it locally. So we shouldn't hard-fail if git isn't installed, we should just display a message explaining how to han...
Opengraph URL: https://github.com/usethis-python/usethis-python/issues/578
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Don't strictly require git in `usethis tool pre-commit`","articleBody":"**Motivation**\nWe might still want `pre-commit` e.g. for CI without installing it locally. So we shouldn't hard-fail if git isn't installed, we should just display a message explaining how to handle the situation.\n\n**Summary of desired enhancement**\nDon't strictly require git to be able to run `usethis tool pre-commit`\n","author":{"url":"https://github.com/nathanjmcdougall","@type":"Person","name":"nathanjmcdougall"},"datePublished":"2025-04-26T14:23:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/578/usethis-python/issues/578"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a1c68609-ce1a-ebd5-6ffb-55be38b6fae0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A4A8:776B8:8A429F:CAFEF0:6A4E1AAB |
| html-safe-nonce | d54875fadae35aa7e6b3f4e4c168751b537f9c966b88b15c78c8045962b028b4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEE4Ojc3NkI4OjhBNDI5RjpDQUZFRjA6NkE0RTFBQUIiLCJ2aXNpdG9yX2lkIjoiMzQ4MzM0OTcwMjk3NTI5ODIxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7beead80d0ec74374247ab02fe01691621f3d3e651ed04344486b9bdd36daacb |
| hovercard-subject-tag | issue:3021938753 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/usethis-python/usethis-python/578/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f842d9b7e35a8a23e5617a1440b050c898370f60621a7c27a6fc786143b40322/usethis-python/usethis-python/issues/578 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f842d9b7e35a8a23e5617a1440b050c898370f60621a7c27a6fc786143b40322/usethis-python/usethis-python/issues/578 |
| og:image:alt | Motivation We might still want pre-commit e.g. for CI without installing it locally. So we shouldn't hard-fail if git isn't installed, we should just display a message explaining how to handle the ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nathanjmcdougall |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5fe497b4815fcce3df76c0e246faa739a82c3124 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width