@@ -23,7 +23,7 @@ authors = [
23
23
{ name = " Florian Bruhin" },
24
24
{ name = " Others (See AUTHORS)" },
25
25
]
26
- requires-python = " >=3.8 "
26
+ requires-python = " >=3.9 "
27
27
classifiers = [
28
28
" Development Status :: 6 - Mature" ,
29
29
" Intended Audience :: Developers" ,
@@ -33,7 +33,6 @@ classifiers = [
33
33
" Operating System :: POSIX" ,
34
34
" Operating System :: Unix" ,
35
35
" Programming Language :: Python :: 3 :: Only" ,
36
- " Programming Language :: Python :: 3.8" ,
37
36
" Programming Language :: Python :: 3.9" ,
38
37
" Programming Language :: Python :: 3.10" ,
39
38
" Programming Language :: Python :: 3.11" ,
@@ -84,11 +83,11 @@ scripts.pytest = "pytest:console_main"
84
83
write_to = " src/_pytest/_version.py"
85
84
86
85
[tool .black ]
87
- target-version = [
88
- ' py38' ,
89
- ]
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" ]
90
88
91
89
[tool .ruff ]
90
+ target-version = " py39"
92
91
line-length = 88
93
92
src = [
94
93
" src" ,
@@ -230,7 +229,6 @@ disable = [
230
229
" deprecated-argument" ,
231
230
" deprecated-attribute" ,
232
231
" deprecated-class" ,
233
- " deprecated-typing-alias" ,
234
232
" disallowed-name" , # foo / bar are used often in tests
235
233
" duplicate-code" ,
236
234
" else-if-used" , # not activated by default, PLR5501 disabled in ruff
@@ -508,7 +506,7 @@ files = [
508
506
mypy_path = [
509
507
" src" ,
510
508
]
511
- python_version = " 3.8 "
509
+ python_version = " 3.9 "
512
510
check_untyped_defs = true
513
511
disallow_any_generics = true
514
512
disallow_untyped_defs = true
0 commit comments