@@ -8,7 +8,7 @@ description = "Protocol Buffer Validation for Python"
88readme = " README.md"
99license = { file = " LICENSE" }
1010keywords = [" validate" , " protobuf" , " protocol buffer" ]
11- requires-python = " >=3.11 "
11+ requires-python = " >=3.10 "
1212classifiers = [
1313 " Programming Language :: Python :: 3" ,
1414 " License :: OSI Approved :: Apache Software License" ,
@@ -26,11 +26,11 @@ Issues = "https://github.com/bufbuild/protovalidate-python/issues"
2626source = " vcs"
2727
2828[tool .black ]
29- target-version = [" py311 " ]
29+ target-version = [" py310 " ]
3030line-length = 120
3131
3232[tool .ruff ]
33- target-version = " py311 "
33+ target-version = " py310 "
3434line-length = 120
3535select = [
3636 " A" ,
@@ -63,7 +63,11 @@ ignore = [
6363 # Allow boolean positional values in function calls, like `dict.get(..., True)`.
6464 " FBT003" ,
6565 # Ignore complexity
66- " C901" , " PLR0911" , " PLR0912" , " PLR0913" , " PLR0915" ,
66+ " C901" ,
67+ " PLR0911" ,
68+ " PLR0912" ,
69+ " PLR0913" ,
70+ " PLR0915" ,
6771 # Ignore magic values - in this library, most are obvious in context.
6872 " PLR2004" ,
6973]
@@ -81,4 +85,3 @@ ban-relative-imports = "all"
8185[tool .ruff .per-file-ignores ]
8286# Tests can use magic values, assertions, and relative imports.
8387"tests/**/*" = [" PLR2004" , " S101" , " TID252" ]
84-
0 commit comments