Update default Python version examples (#23605)

## Summary

Brings our documentation up to date with the implementation, see
https://github.com/astral-sh/ruff/pull/17529#issuecomment-3972000021

## Test Plan
This commit is contained in:
Brent Westbrook
2026-02-27 18:00:03 -05:00
committed by GitHub
parent cb2035aeca
commit bc12fbb565
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -254,8 +254,8 @@ exclude = [
line-length = 88
indent-width = 4
# Assume Python 3.9
target-version = "py39"
# Assume Python 3.10
target-version = "py310"
[lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
+4 -4
View File
@@ -47,8 +47,8 @@ If left unspecified, Ruff's default configuration is equivalent to:
line-length = 88
indent-width = 4
# Assume Python 3.9
target-version = "py39"
# Assume Python 3.10
target-version = "py310"
[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
@@ -129,8 +129,8 @@ If left unspecified, Ruff's default configuration is equivalent to:
line-length = 88
indent-width = 4
# Assume Python 3.9
target-version = "py39"
# Assume Python 3.10
target-version = "py310"
[lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.