@@ -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" ,
@@ -81,10 +81,9 @@ test = [
8181
8282dev = [
8383 " taskiq-faststream[test]" ,
84-
85- " mypy>=1.8.0,<1.12.0" ,
86- " ruff==0.4.1" ,
87- " pre-commit >=3.6.0,<4.0.0" ,
84+ " mypy==1.11.2" ,
85+ " ruff==0.11.8" ,
86+ " pre-commit >=3.6.0,<5.0.0" ,
8887]
8988
9089[project .urls ]
@@ -107,7 +106,7 @@ exclude = [
107106]
108107
109108[tool .mypy ]
110- python_version = " 3.8 "
109+ python_version = " 3.9 "
111110strict = true
112111ignore_missing_imports = true
113112allow_subclassing_any = true
@@ -125,12 +124,14 @@ known_third_party = ["faststream", "taskiq"]
125124
126125[tool .ruff ]
127126fix = true
128- target-version = " py38 "
127+ target-version = " py39 "
129128line-length = 88
130- mccabe = { max-complexity = 10 }
131129
130+ [tool .ruff .lint ]
132131# List of enabled rulsets.
133132# See https://docs.astral.sh/ruff/rules/ for more information.
133+ mccabe = { max-complexity = 10 }
134+
134135select = [
135136 " E" , # Error
136137 " F" , # Pyflakes
@@ -167,8 +168,6 @@ ignore = [
167168 " D401" , # First line should be in imperative mood
168169 " D104" , # Missing docstring in public package
169170 " D100" , # Missing docstring in public module
170- " ANN102" , # Missing type annotation for self in method
171- " ANN101" , # Missing type annotation for argument
172171 " ANN401" , # typing.Any are disallowed in `**kwargs
173172 " PLR0913" , # Too many arguments for function call
174173 " D106" , # Missing docstring in public nested class
@@ -177,7 +176,7 @@ ignore = [
177176]
178177exclude = [" .venv/" ]
179178
180- [tool .ruff .per-file-ignores ]
179+ [tool .ruff .lint . per-file-ignores ]
181180"tests/*" = [
182181 " S101" , # Use of assert detected
183182 " S301" , # Use of pickle detected
@@ -187,14 +186,14 @@ exclude = [".venv/"]
187186 " D101" , # Missing docstring in public class
188187]
189188
190- [tool .ruff .pydocstyle ]
189+ [tool .ruff .lint . pydocstyle ]
191190convention = " google"
192191ignore-decorators = [" typing.overload" ]
193192
194- [tool .ruff .pylint ]
193+ [tool .ruff .lint . pylint ]
195194allow-magic-value-types = [" int" , " str" , " float" ]
196195
197- [tool .ruff .flake8-bugbear ]
196+ [tool .ruff .lint . flake8-bugbear ]
198197extend-immutable-calls = []
199198
200199[tool .pytest .ini_options ]
0 commit comments