@@ -24,15 +24,14 @@ maintainers = [
24
24
{
name =
" Ofek Lev" ,
email =
" [email protected] " },
25
25
{
name =
" Ronny Pfannschmidt" ,
email =
" [email protected] " },
26
26
]
27
- requires-python = " >=3.8 "
27
+ requires-python = " >=3.9 "
28
28
classifiers = [
29
29
" Development Status :: 5 - Production/Stable" ,
30
30
" Intended Audience :: Developers" ,
31
31
" License :: OSI Approved :: MIT License" ,
32
32
" Operating System :: OS Independent" ,
33
33
" Programming Language :: Python" ,
34
34
" Programming Language :: Python :: 3 :: Only" ,
35
- " Programming Language :: Python :: 3.8" ,
36
35
" Programming Language :: Python :: 3.9" ,
37
36
" Programming Language :: Python :: 3.10" ,
38
37
" Programming Language :: Python :: 3.11" ,
@@ -102,7 +101,6 @@ matrix = [
102
101
" 3.11" ,
103
102
" 3.10" ,
104
103
" 3.9" ,
105
- " 3.8" ,
106
104
" pypy3.10" ,
107
105
] },
108
106
]
@@ -203,41 +201,42 @@ scripts = { "run" = [
203
201
] }
204
202
205
203
[tool .ruff ]
206
- target-version = " py38 "
204
+ target-version = " py39 "
207
205
line-length = 120
208
206
format.preview = true
209
- lint.preview = true
210
- select = [
207
+ lint.select = [
211
208
" ALL" ,
212
209
]
213
- isort = { known-first-party = [
214
- " platformdirs" ,
215
- " tests" ,
216
- ], required-imports = [
217
- " from __future__ import annotations" ,
218
- ] }
219
- ignore = [
210
+ lint.ignore = [
220
211
" ANN101" , # Missing type annotation for `self` in method
221
- " D301" , # Use `r"""` if any backslashes in a docstring
222
- " D205" , # 1 blank line required between summary line and description
223
- " D401" , # The first line of docstring should be in imperative mood
212
+ " CPY" , # no copyright notices
224
213
" D203" , # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
214
+ " D205" , # 1 blank line required between summary line and description
225
215
" D212" , # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
226
- " S104 " , # Possible binding to all interfaces
227
- " CPY " , # no copyright notices
216
+ " D301 " , # Use `r"""` if any backslashes in a docstring
217
+ " D401 " , # The first line of docstring should be in imperative mood
228
218
" DOC" , # no support for restructuredtext
219
+ " S104" , # Possible binding to all interfaces
229
220
]
230
- per-file-ignores."tests/**/*.py" = [
231
- " S101 " , # asserts allowed in tests
221
+ lint. per-file-ignores."tests/**/*.py" = [
222
+ " D " , # don't care about documentation in tests
232
223
" FBT" , # don't care about booleans as positional arguments in tests
233
224
" INP001" , # no implicit namespace
234
- " D" , # don't care about documentation in tests
235
- " S603" , # `subprocess` call: check for execution of untrusted input
236
- " PLR2004" , # Magic value used in comparison, consider replacing with a constant variable
237
225
" PLC2701" , # Private name import
238
226
" PLR0917" , # Too many positional arguments
227
+ " PLR2004" , # Magic value used in comparison, consider replacing with a constant variable
228
+ " S101" , # asserts allowed in tests
229
+ " S603" , # `subprocess` call: check for execution of untrusted input
239
230
]
240
231
232
+ lint.isort = { known-first-party = [
233
+ " platformdirs" ,
234
+ " tests" ,
235
+ ], required-imports = [
236
+ " from __future__ import annotations" ,
237
+ ] }
238
+ lint.preview = true
239
+
241
240
[tool .codespell ]
242
241
builtin = " clear,usage,en-GB_to_en-US"
243
242
count = true
0 commit comments