dosisod/refurb

[Docs Request]: `python_version` when unspecified

jamesbraza opened this issue · 2 comments

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:

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.

Thank you @jamesbraza for opening this!