Title: Agent config to avoid hard-coding module names in prek config · Issue #1632 · usethis-python/usethis-python · GitHub
Open Graph Title: Agent config to avoid hard-coding module names in prek config · Issue #1632 · usethis-python/usethis-python
X Title: Agent config to avoid hard-coding module names in prek config · Issue #1632 · usethis-python/usethis-python
Description: @copilot do NOT accept specific modules as args! rely on the source-root. Enable the strict arg and add docstrings if necessary to comply with it, Originally posted by @nathanjmcdougall in #1624 (comment) When creating custom hooks, we s...
Open Graph Description: @copilot do NOT accept specific modules as args! rely on the source-root. Enable the strict arg and add docstrings if necessary to comply with it, Originally posted by @nathanjmcdougall in #1624 (c...
X Description: @copilot do NOT accept specific modules as args! rely on the source-root. Enable the strict arg and add docstrings if necessary to comply with it, Originally posted by @nathanjmcdougall in #1624 (c...
Opengraph URL: https://github.com/usethis-python/usethis-python/issues/1632
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Agent config to avoid hard-coding module names in prek config","articleBody":"@copilot do NOT accept specific modules as args! rely on the source-root. Enable the strict arg and add docstrings if necessary to comply with it,\r\n\r\n_Originally posted by @nathanjmcdougall in https://github.com/usethis-python/usethis-python/pull/1624#discussion_r3006835103_\r\n \r\nWhen creating custom hooks, we should NEVER hard-code module names into the .pre-commit-config file. We should use `--source-root=src` or similar and then automatically scan. This helps avoid rot.\r\n","author":{"url":"https://github.com/nathanjmcdougall","@type":"Person","name":"nathanjmcdougall"},"datePublished":"2026-03-29T22:06:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1632/usethis-python/issues/1632"}
| 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:ecfbe409-4c29-e30e-bf9b-5940fc4b4e5c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D1E2:391DC1:1EDA798:2CA5907:6A4D0847 |
| html-safe-nonce | 4978b41de5c368405cd0bbd1b3efca1d46b4b2a6c93850e801dc074c80a170cd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUUyOjM5MURDMToxRURBNzk4OjJDQTU5MDc6NkE0RDA4NDciLCJ2aXNpdG9yX2lkIjoiNzU1NDE4NzE5Mjk0NTE1MDAyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7556f9767dcab77071a9292a9d798120bd3f7a6cacb0711ba391443493c925b8 |
| hovercard-subject-tag | issue:4165914488 |
| 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/1632/issue_layout |
| twitter:image | https://opengraph.githubassets.com/428758bf570b200fa6e353f3cd6896109cc986fb4d43da4ac33e565f505c4bde/usethis-python/usethis-python/issues/1632 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/428758bf570b200fa6e353f3cd6896109cc986fb4d43da4ac33e565f505c4bde/usethis-python/usethis-python/issues/1632 |
| og:image:alt | @copilot do NOT accept specific modules as args! rely on the source-root. Enable the strict arg and add docstrings if necessary to comply with it, Originally posted by @nathanjmcdougall in #1624 (c... |
| 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 | 31e4db13a9e20081f2fac78f441659a6576e582bbb15e153f9c7fb6473aa29f5 |
| 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 | fb70bd3c4b2bec429781b65419e912c66e2d5581 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width