Skip to content

Commit 58e2581

Browse files
[black] Fix the target-version configuration
1 parent 1bacc00 commit 58e2581

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,8 @@ scripts.pytest = "pytest:console_main"
8383
write_to = "src/_pytest/_version.py"
8484

8585
[tool.black]
86-
target-version = [
87-
'py39',
88-
]
86+
# See https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#t-target-version
87+
target-version = [ "py39", "py310", "py311", "py312", "py313" ]
8988

9089
[tool.ruff]
9190
line-length = 88

0 commit comments

Comments
 (0)