@@ -13,19 +13,19 @@ authors = [
1313
1414keywords = [" taskiq" , " tasks" , " distributed" , " async" , " FastStream" ]
1515
16- requires-python = " >=3.8 "
16+ requires-python = " >=3.9 "
1717
1818classifiers = [
1919 " Development Status :: 5 - Production/Stable" ,
2020 " License :: OSI Approved :: MIT License" ,
2121 " Programming Language :: Python" ,
2222 " Programming Language :: Python :: 3" ,
2323 " Programming Language :: Python :: 3 :: Only" ,
24- " Programming Language :: Python :: 3.8" ,
2524 " Programming Language :: Python :: 3.9" ,
2625 " Programming Language :: Python :: 3.10" ,
2726 " Programming Language :: Python :: 3.11" ,
2827 " Programming Language :: Python :: 3.12" ,
28+ " Programming Language :: Python :: 3.13" ,
2929 " Operating System :: OS Independent" ,
3030 " Topic :: Software Development :: Libraries :: Python Modules" ,
3131 " Topic :: Software Development :: Libraries" ,
@@ -107,7 +107,7 @@ exclude = [
107107]
108108
109109[tool .mypy ]
110- python_version = " 3.8 "
110+ python_version = " 3.9 "
111111strict = true
112112ignore_missing_imports = true
113113allow_subclassing_any = true
@@ -125,12 +125,14 @@ known_third_party = ["faststream", "taskiq"]
125125
126126[tool .ruff ]
127127fix = true
128- target-version = " py38 "
128+ target-version = " py39 "
129129line-length = 88
130- mccabe = { max-complexity = 10 }
131130
131+ [tool .ruff .lint ]
132132# List of enabled rulsets.
133133# See https://docs.astral.sh/ruff/rules/ for more information.
134+ mccabe = { max-complexity = 10 }
135+
134136select = [
135137 " E" , # Error
136138 " F" , # Pyflakes
@@ -167,8 +169,6 @@ ignore = [
167169 " D401" , # First line should be in imperative mood
168170 " D104" , # Missing docstring in public package
169171 " D100" , # Missing docstring in public module
170- " ANN102" , # Missing type annotation for self in method
171- " ANN101" , # Missing type annotation for argument
172172 " ANN401" , # typing.Any are disallowed in `**kwargs
173173 " PLR0913" , # Too many arguments for function call
174174 " D106" , # Missing docstring in public nested class
@@ -177,7 +177,7 @@ ignore = [
177177]
178178exclude = [" .venv/" ]
179179
180- [tool .ruff .per-file-ignores ]
180+ [tool .ruff .lint . per-file-ignores ]
181181"tests/*" = [
182182 " S101" , # Use of assert detected
183183 " S301" , # Use of pickle detected
@@ -187,14 +187,14 @@ exclude = [".venv/"]
187187 " D101" , # Missing docstring in public class
188188]
189189
190- [tool .ruff .pydocstyle ]
190+ [tool .ruff .lint . pydocstyle ]
191191convention = " google"
192192ignore-decorators = [" typing.overload" ]
193193
194- [tool .ruff .pylint ]
194+ [tool .ruff .lint . pylint ]
195195allow-magic-value-types = [" int" , " str" , " float" ]
196196
197- [tool .ruff .flake8-bugbear ]
197+ [tool .ruff .lint . flake8-bugbear ]
198198extend-immutable-calls = []
199199
200200[tool .pytest .ini_options ]
0 commit comments