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: Regex-validated vs. naive str parsing
- Source: Current interpreter vs.
.python-version file (if available).
- Hard-coding of
f"3.{x}" and only passing around an int, vs. a dedicated object or string