Title: Consider `.python-version` when inferring the Python version by Copilot · Pull Request #1790 · usethis-python/usethis-python · GitHub
Open Graph Title: Consider `.python-version` when inferring the Python version by Copilot · Pull Request #1790 · usethis-python/usethis-python
X Title: Consider `.python-version` when inferring the Python version by Copilot · Pull Request #1790 · usethis-python/usethis-python
Description: Add from_python_version_file(path: Path) classmethod to PythonVersion Add _get_current_python_version() helper and update get_supported_minor_python_versions() to use it Apply step-down rule: _get_current_python_version() now appears after its caller Refactor sonarqube/config.py to use the new classmethod Add/update tests with full coverage All static checks pass Cache _get_current_python_version() with @functools.cache and register in conftest.py Opened #1806: lesson — cache IO helpers with @functools.cache and register in conftest Opened #1807: export-functions.py excludes private functions from docs/functions.txt
Open Graph Description: Add from_python_version_file(path: Path) classmethod to PythonVersion Add _get_current_python_version() helper and update get_supported_minor_python_versions() to use it Apply step-down rule: _ge...
X Description: Add from_python_version_file(path: Path) classmethod to PythonVersion Add _get_current_python_version() helper and update get_supported_minor_python_versions() to use it Apply step-down rule: _ge...
Opengraph URL: https://github.com/usethis-python/usethis-python/pull/1790
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:02fe6b0e-3cad-bd53-0155-0f163a7cda4d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C474:306DA5:2BEBF84:3E32579:6A4CFBA2 |
| html-safe-nonce | 7a774b9dfb6f9d78fd4aab061727199e7872cfbcd8477256fa406f6b2e91d748 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDc0OjMwNkRBNToyQkVCRjg0OjNFMzI1Nzk6NkE0Q0ZCQTIiLCJ2aXNpdG9yX2lkIjoiMTcyMzkyMjIyMTM4OTExODM3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 22634303c09e2ab504a8252846b7b3d61dd9a0f57e86652c009d5c9b6d1bd0b7 |
| hovercard-subject-tag | pull_request:3487887800 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/usethis-python/usethis-python/pull/1790/files |
| twitter:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| og:image:alt | Add from_python_version_file(path: Path) classmethod to PythonVersion Add _get_current_python_version() helper and update get_supported_minor_python_versions() to use it Apply step-down rule: _ge... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 31e4db13a9e20081f2fac78f441659a6576e582bbb15e153f9c7fb6473aa29f5 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| 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