mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 12:55:05 +00:00
Change default for Python version from 3.8 to 3.9 (#13896)
Co-authored-by: Micha Reiser <micha@reiser.io>
This commit is contained in:
parent
afeb217452
commit
1b180c8342
123 changed files with 90 additions and 5488 deletions
|
@ -322,8 +322,8 @@ pub struct Options {
|
|||
/// file than it would for an equivalent runtime file with the same target
|
||||
/// version.
|
||||
#[option(
|
||||
default = r#""py38""#,
|
||||
value_type = r#""py37" | "py38" | "py39" | "py310" | "py311" | "py312""#,
|
||||
default = r#""py39""#,
|
||||
value_type = r#""py37" | "py38" | "py39" | "py310" | "py311" | "py312" | "py313""#,
|
||||
example = r#"
|
||||
# Always generate Python 3.7-compatible code.
|
||||
target-version = "py37"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue