Title: Document what pre-commit considers a mutable reference to be, or tweak the definition · Issue #3073 · pre-commit/pre-commit · GitHub
Open Graph Title: Document what pre-commit considers a mutable reference to be, or tweak the definition · Issue #3073 · pre-commit/pre-commit
X Title: Document what pre-commit considers a mutable reference to be, or tweak the definition · Issue #3073 · pre-commit/pre-commit
Description: search you tried in the issue tracker "mutable"; I reviewed all matching issue subjects updated after #1715 describe your actual problem We had some unexpected warnings running pre-commit, because one of our hooks repository uses the fol...
Open Graph Description: search you tried in the issue tracker "mutable"; I reviewed all matching issue subjects updated after #1715 describe your actual problem We had some unexpected warnings running pre-commit, because ...
X Description: search you tried in the issue tracker "mutable"; I reviewed all matching issue subjects updated after #1715 describe your actual problem We had some unexpected warnings running pre-commit...
Opengraph URL: https://github.com/pre-commit/pre-commit/issues/3073
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Document what pre-commit considers a mutable reference to be, or tweak the definition","articleBody":"### search you tried in the issue tracker\n\n\"mutable\"; I reviewed all matching issue subjects updated after #1715\n\n### describe your actual problem\n\nWe had some unexpected warnings running pre-commit, because one of our hooks repository uses the following tagging scheme for versions; `yyyymmdd`, but `yyyymmdd.n` if we make multiple releases on the same day.\r\n\r\nTags with `.n` work well, but tags without `.n` generate a warning- which we discovered when we found #1715 , and I just read the discussion on #1794.\r\n\r\nIMHO, at least it would be good to document this behavior outside the source code. Either the message error can be expanded to describe the regex used, or the docs.\r\n\r\nI am not sure the regex approach is ideal. So maybe \"we may revisit if this comes up more frequently\"...?\n\n### pre-commit --version\n\n3.0.4","author":{"url":"https://github.com/alexpdp7","@type":"Person","name":"alexpdp7"},"datePublished":"2023-11-20T11:38:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/3073/pre-commit/issues/3073"}
| 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:f90d0fce-f2db-d6f3-9bcc-a8397ea8b694 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9038:AB7B3:670CF2:8D3F0A:6A55A324 |
| html-safe-nonce | 93d696bcf491fb5d9b18d03b67983a758afa427eecf751e478568439103f90b1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDM4OkFCN0IzOjY3MENGMjo4RDNGMEE6NkE1NUEzMjQiLCJ2aXNpdG9yX2lkIjoiMzk4MzU3NTc1MjE0Mjg1Njk5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 980954a24a7696152240f3a40ee62cca0cbeccb55d193a21ae50d92a279130a5 |
| hovercard-subject-tag | issue:2001998166 |
| github-keyboard-shortcuts | repository,issues,commits,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/pre-commit/pre-commit/3073/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ff1f00ee78a536053e19ec3662aeec2e7e2b47c77b23ea0bad28f7d0ce9d5e03/pre-commit/pre-commit/issues/3073 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ff1f00ee78a536053e19ec3662aeec2e7e2b47c77b23ea0bad28f7d0ce9d5e03/pre-commit/pre-commit/issues/3073 |
| og:image:alt | search you tried in the issue tracker "mutable"; I reviewed all matching issue subjects updated after #1715 describe your actual problem We had some unexpected warnings running pre-commit, because ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alexpdp7 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| turbo-cache-control | no-preview |
| go-import | github.com/pre-commit/pre-commit git https://github.com/pre-commit/pre-commit.git |
| octolytics-dimension-user_id | 6943086 |
| octolytics-dimension-user_login | pre-commit |
| octolytics-dimension-repository_id | 17689377 |
| octolytics-dimension-repository_nwo | pre-commit/pre-commit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 17689377 |
| octolytics-dimension-repository_network_root_nwo | pre-commit/pre-commit |
| 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 | 653fccf1e27344851c0d3de3fa6faa526197f072 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width