Title: Unify the logic for inferring Python versions for SonarQube vs. overall project · Issue #1106 · usethis-python/usethis-python · GitHub
Open Graph Title: Unify the logic for inferring Python versions for SonarQube vs. overall project · Issue #1106 · usethis-python/usethis-python
X Title: Unify the logic for inferring Python versions for SonarQube vs. overall project · Issue #1106 · usethis-python/usethis-python
Description: There's a few things going on here that need teasing out Naming: "Major" version of 3.13 as being 13 vs. being 3 Duplication of code: src\usethis_integrations\sonarqube\config.py vs. src\usethis_integrations\python\version.py Methodology...
Open Graph Description: There's a few things going on here that need teasing out Naming: "Major" version of 3.13 as being 13 vs. being 3 Duplication of code: src\usethis_integrations\sonarqube\config.py vs. src\usethis_in...
X Description: There's a few things going on here that need teasing out Naming: "Major" version of 3.13 as being 13 vs. being 3 Duplication of code: src\usethis_integrations\sonarqube\config.py vs. ...
Opengraph URL: https://github.com/usethis-python/usethis-python/issues/1106
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unify the logic for inferring Python versions for SonarQube vs. overall project","articleBody":"There's a few things going on here that need teasing out\n\n- Naming: \"Major\" version of 3.13 as being 13 vs. being 3\n- Duplication of code: src\\usethis\\_integrations\\sonarqube\\config.py vs. src\\usethis\\_integrations\\python\\version.py\n- Methodology: Regex-validated vs. naive str parsing\n- Source: Current interpreter vs. `.python-version` file (if available).\n- Hard-coding of `f\"3.{x}\"` and only passing around an int, vs. a dedicated object or string","author":{"url":"https://github.com/nathanjmcdougall","@type":"Person","name":"nathanjmcdougall"},"datePublished":"2025-11-05T21:03:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1106/usethis-python/issues/1106"}
| 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:ade172da-24ad-e5ba-bafb-9404b5397251 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C166:316D26:1B7CC0D:27AD4CF:6A4CF5DC |
| html-safe-nonce | ed7d67326fb252591b7bb5b6fcb78c6c99cd9d07618b67108ab4632b78682941 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTY2OjMxNkQyNjoxQjdDQzBEOjI3QUQ0Q0Y6NkE0Q0Y1REMiLCJ2aXNpdG9yX2lkIjoiODQ3Mjk3MDcyODY2NDAwNDA2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 17df35eb3b33070ba3f220eed55a4cf9b4addd9ea28436d1faa7afa2e0e80011 |
| hovercard-subject-tag | issue:3592796996 |
| 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/1106/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7cada633b3f68bcc3b927b8cbbfd22fd70a4f4cd4b32754802320d2017c1f47b/usethis-python/usethis-python/issues/1106 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7cada633b3f68bcc3b927b8cbbfd22fd70a4f4cd4b32754802320d2017c1f47b/usethis-python/usethis-python/issues/1106 |
| og:image:alt | There's a few things going on here that need teasing out Naming: "Major" version of 3.13 as being 13 vs. being 3 Duplication of code: src\usethis_integrations\sonarqube\config.py vs. src\usethis_in... |
| 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 | 8307e9ba117a26e92a64fb1daf085d795a6552ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width