Title: A structured way to interact with `.pre-commit-config.yaml` · Issue #134 · usethis-python/usethis-python · GitHub
Open Graph Title: A structured way to interact with `.pre-commit-config.yaml` · Issue #134 · usethis-python/usethis-python
X Title: A structured way to interact with `.pre-commit-config.yaml` · Issue #134 · usethis-python/usethis-python
Description: Motivation Working on #54 I am making some major changes to the way to interact with bitbucket-pipelines.yml which should make things exceptionally more robust using pydantic. However, I am not yet touching pre-commit config, even though...
Open Graph Description: Motivation Working on #54 I am making some major changes to the way to interact with bitbucket-pipelines.yml which should make things exceptionally more robust using pydantic. However, I am not yet...
X Description: Motivation Working on #54 I am making some major changes to the way to interact with bitbucket-pipelines.yml which should make things exceptionally more robust using pydantic. However, I am not yet...
Opengraph URL: https://github.com/usethis-python/usethis-python/issues/134
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"A structured way to interact with `.pre-commit-config.yaml`","articleBody":"**Motivation**\r\nWorking on #54 I am making some major changes to the way to interact with `bitbucket-pipelines.yml` which should make things exceptionally more robust using pydantic. However, I am not yet touching `pre-commit` config, even though it really merits the same treatment.\r\n\r\nThere is undoubtedly a schema somewhere. The associated package https://github.com/asottile/cfgv is worth looking at\r\n\r\n**Summary of desired enhancement**\r\nStop accessing `.pre-commit-config.yaml` as a raw dict and use a validated class-based approach e.g. with pydantic.\r\n","author":{"url":"https://github.com/nathanjmcdougall","@type":"Person","name":"nathanjmcdougall"},"datePublished":"2024-11-19T22:30:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/134/usethis-python/issues/134"}
| 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:aaedb730-89d2-a491-afee-c1c5a159af5b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F88:5105D:1E32418:2997E26:6A4EC9AA |
| html-safe-nonce | 7733381b6002fa7e603f2a739961fe7e5dab81eb694b7a80bafb4d263f9a3e26 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Rjg4OjUxMDVEOjFFMzI0MTg6Mjk5N0UyNjo2QTRFQzlBQSIsInZpc2l0b3JfaWQiOiI2NDU4NzQ3OTE1NzIwMzc4Nzk0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d2d248c9f5ad9cfc43828c4d9b9f12dc7d18f617a3973291c45569b5cec7d2af |
| hovercard-subject-tag | issue:2673720941 |
| 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/134/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f9a63924c0d4241b6e7da751b7202228d5d5e18adae8d1a801a869e26811a52f/usethis-python/usethis-python/issues/134 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f9a63924c0d4241b6e7da751b7202228d5d5e18adae8d1a801a869e26811a52f/usethis-python/usethis-python/issues/134 |
| og:image:alt | Motivation Working on #54 I am making some major changes to the way to interact with bitbucket-pipelines.yml which should make things exceptionally more robust using pydantic. However, I am not yet... |
| 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 | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width