Title: Add a way to set the level of strictness · Issue #306 · usethis-python/usethis-python · GitHub
Open Graph Title: Add a way to set the level of strictness · Issue #306 · usethis-python/usethis-python
X Title: Add a way to set the level of strictness · Issue #306 · usethis-python/usethis-python
Description: Motivation Some motivation is given in #27. Some config, e.g. ruff rules, are perhaps too advanced for some projects. We could have a level of strictness associated with each tool but that gets coordinated with an overall strictness fram...
Open Graph Description: Motivation Some motivation is given in #27. Some config, e.g. ruff rules, are perhaps too advanced for some projects. We could have a level of strictness associated with each tool but that gets coo...
X Description: Motivation Some motivation is given in #27. Some config, e.g. ruff rules, are perhaps too advanced for some projects. We could have a level of strictness associated with each tool but that gets coo...
Opengraph URL: https://github.com/usethis-python/usethis-python/issues/306
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add a way to set the level of strictness","articleBody":"**Motivation**\nSome motivation is given in #27.\n\nSome config, e.g. ruff rules, are perhaps too advanced for some projects. We could have a level of strictness associated with each tool but that gets coordinated with an overall strictness framework.\n\nI like the idea of motivating the strictness categories with whether a tool is recommended at different development statuses e.g. #122, although I am not sure we would need 7 levels so some statuses might get associated with the same level multiple times.\n\nAn interface could be `usethis strictness \u003carg\u003e` although I am not sure what the naming system would be.\n\nWe could also introduce a `--strictness` arg to all tools to override the global default, which would be set in `pyproject.toml`. Probably strictnesses for individual tools could also be set in `pyproject.toml` in their own individual settings but that might a bit much to begin with.\nIf a global strictness isn't provided, we would default to a particular development status.\n\nTo begin with, all tools would behave the same under the different strictness levels but we should create issues for each one to start to give different behaviours for each one as appropriate.\n\n**Summary of desired enhancement**\nAdd an interface for adding strictness.\n","author":{"url":"https://github.com/nathanjmcdougall","@type":"Person","name":"nathanjmcdougall"},"datePublished":"2025-02-17T06:21:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/306/usethis-python/issues/306"}
| 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:d7113a29-0667-6c9e-9a9f-d72021f45a2e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AF12:E2378:55F1E40:77A7CA0:6A4F842E |
| html-safe-nonce | 7af9f1acf80bc37e4eeae482de28d35353c7a545f00a5bc46357a25ef30cf2cd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjEyOkUyMzc4OjU1RjFFNDA6NzdBN0NBMDo2QTRGODQyRSIsInZpc2l0b3JfaWQiOiI3Nzg4MjkyOTYyNDYzNDgyOTI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c6b21274b62b8879a35338e866a3920220110cd06d055cdba972087271d03a6c |
| hovercard-subject-tag | issue:2856886020 |
| 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/306/issue_layout |
| twitter:image | https://opengraph.githubassets.com/da11c6f1665015f23ad95df7b16b9a5beec32ca8ba91601ceb7401460f58e543/usethis-python/usethis-python/issues/306 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/da11c6f1665015f23ad95df7b16b9a5beec32ca8ba91601ceb7401460f58e543/usethis-python/usethis-python/issues/306 |
| og:image:alt | Motivation Some motivation is given in #27. Some config, e.g. ruff rules, are perhaps too advanced for some projects. We could have a level of strictness associated with each tool but that gets coo... |
| 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 | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| 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 | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width