Title: Include a `--no-hook` flag for all tools · Issue #590 · usethis-python/usethis-python · GitHub
Open Graph Title: Include a `--no-hook` flag for all tools · Issue #590 · usethis-python/usethis-python
X Title: Include a `--no-hook` flag for all tools · Issue #590 · usethis-python/usethis-python
Description: Motivation Not all tools use pre-commit, but it makes sense to keep the interface consistent. Basically in some cases we might not want to add a tool as a pre-commit, even though it's possible. So we can add this flag to basically treat ...
Open Graph Description: Motivation Not all tools use pre-commit, but it makes sense to keep the interface consistent. Basically in some cases we might not want to add a tool as a pre-commit, even though it's possible. So ...
X Description: Motivation Not all tools use pre-commit, but it makes sense to keep the interface consistent. Basically in some cases we might not want to add a tool as a pre-commit, even though it's possible....
Opengraph URL: https://github.com/usethis-python/usethis-python/issues/590
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Include a `--no-hook` flag for all tools","articleBody":"**Motivation**\nNot all tools use `pre-commit`, but it makes sense to keep the interface consistent.\n\nBasically in some cases we might not want to add a tool as a pre-commit, even though it's _possible_. So we can add this flag to basically treat `pre-commit` as being unused for the purposes of adding the tool.\n\nIf removing the tool, then `--no-hook` can ignore the pre-commit configuration and not remove from that.\n\n**Summary of desired enhancement**\nInclude a `--no-hook` flag for all tools in the `usethis tool` subcommand set.\n","author":{"url":"https://github.com/nathanjmcdougall","@type":"Person","name":"nathanjmcdougall"},"datePublished":"2025-04-27T08:16:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/590/usethis-python/issues/590"}
| 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:ac360c96-8909-d1f6-7e77-2cb463d0dc68 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B350:1FC181:7D993:AC199:6A4D2666 |
| html-safe-nonce | 767e772f29781e2dd4705e6271c270b63bf2087d7120c1963b1ae45bb2cbd569 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzUwOjFGQzE4MTo3RDk5MzpBQzE5OTo2QTREMjY2NiIsInZpc2l0b3JfaWQiOiIxNTkxOTE1MjkzNDQ1MDA2OTUwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5ddcb122594b27115580dc22f21a4c7f549655549a15bfa907d187e89f959be9 |
| hovercard-subject-tag | issue:3022916431 |
| 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/590/issue_layout |
| twitter:image | https://opengraph.githubassets.com/25a7334877ada6fbc14b1d988a38150b58e45bf46bf4d121fe0bb0a3053eb985/usethis-python/usethis-python/issues/590 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/25a7334877ada6fbc14b1d988a38150b58e45bf46bf4d121fe0bb0a3053eb985/usethis-python/usethis-python/issues/590 |
| og:image:alt | Motivation Not all tools use pre-commit, but it makes sense to keep the interface consistent. Basically in some cases we might not want to add a tool as a pre-commit, even though it's possible. So ... |
| 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 | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| 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 | 93f17a978ee60bc4668e1d7b90e6bd2d622261fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width