You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for opening this! When unspecified, Refurb uses the current interpreter version. Refurb does not look at the .python-version or pyproject.toml files for versions, though having an option to do this could be useful.
I'll update the docs to reflect the current behavior, and look into adding a flag to default to the min version in pyproject.toml/.python-version in the future.
Overview
python_version
shows up in the docs in a few places:It would be good to document what version it will use, when unspecified.
Proposal
It would be nice if the defaults for
python_version
would fall back on:.python-version
from pyenv (like GitHubactions/setup-python
does)project.requires-python
inpyproject.toml
The text was updated successfully, but these errors were encountered: