From 0c161c3f4f0b00d621a8bcbd75d47590388a1590 Mon Sep 17 00:00:00 2001 From: dosisod <39638017+dosisod@users.noreply.github.com> Date: Tue, 14 Nov 2023 23:00:58 -0800 Subject: [PATCH] Specify what Python version Refurb uses when version isn't set: Closes #303 --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 2b0a214..bb41409 100644 --- a/README.md +++ b/README.md @@ -137,6 +137,9 @@ for this flag must be in the form `x.y`, for example, `3.10`. The syntax for using this in the config file is `python_version = "3.10"`. +When the Python version is unspecified, Refurb uses whatever version your local Python installation uses. +For example, if your `python --version` is `3.11.5`, Refurb uses `3.11`, dropping the `5` patch version. + ## Changing Output Formats By default everything is outputted as plain text: