@@ -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" ,
@@ -42,7 +42,7 @@ classifiers = [
4242dynamic = [" version" ]
4343
4444dependencies = [
45- " taskiq>=0.10 .0,<1.0 .0" ,
45+ " taskiq>=0.11 .0,<0.12 .0" ,
4646 " faststream>=0.3.14,<0.6.0" ,
4747]
4848
@@ -59,6 +59,10 @@ kafka = [
5959 " faststream[kafka]"
6060]
6161
62+ confluent = [
63+ " faststream[confluent]"
64+ ]
65+
6266redis = [
6367 " faststream[redis]"
6468]
@@ -68,6 +72,7 @@ test = [
6872 " taskiq-faststream[nats]" ,
6973 " taskiq-faststream[rabbit]" ,
7074 " taskiq-faststream[kafka]" ,
75+ " taskiq-faststream[confluent]" ,
7176 " taskiq-faststream[redis]" ,
7277
7378 " coverage[toml]>=7.2.0,<8.0.0" ,
@@ -77,9 +82,9 @@ test = [
7782dev = [
7883 " taskiq-faststream[test]" ,
7984
80- " mypy>=1.8.0,<1.10 .0" ,
81- " ruff==0.4.1 " ,
82- " pre-commit >=3.6.0,<4 .0.0" ,
85+ " mypy>=1.8.0,<1.16 .0" ,
86+ " ruff==0.11.8 " ,
87+ " pre-commit >=3.6.0,<5 .0.0" ,
8388]
8489
8590[project .urls ]
@@ -102,7 +107,7 @@ exclude = [
102107]
103108
104109[tool .mypy ]
105- python_version = " 3.8 "
110+ python_version = " 3.9 "
106111strict = true
107112ignore_missing_imports = true
108113allow_subclassing_any = true
@@ -120,12 +125,14 @@ known_third_party = ["faststream", "taskiq"]
120125
121126[tool .ruff ]
122127fix = true
123- target-version = " py38 "
128+ target-version = " py39 "
124129line-length = 88
125- mccabe = { max-complexity = 10 }
126130
131+ [tool .ruff .lint ]
127132# List of enabled rulsets.
128133# See https://docs.astral.sh/ruff/rules/ for more information.
134+ mccabe = { max-complexity = 10 }
135+
129136select = [
130137 " E" , # Error
131138 " F" , # Pyflakes
@@ -162,8 +169,6 @@ ignore = [
162169 " D401" , # First line should be in imperative mood
163170 " D104" , # Missing docstring in public package
164171 " D100" , # Missing docstring in public module
165- " ANN102" , # Missing type annotation for self in method
166- " ANN101" , # Missing type annotation for argument
167172 " ANN401" , # typing.Any are disallowed in `**kwargs
168173 " PLR0913" , # Too many arguments for function call
169174 " D106" , # Missing docstring in public nested class
@@ -172,7 +177,7 @@ ignore = [
172177]
173178exclude = [" .venv/" ]
174179
175- [tool .ruff .per-file-ignores ]
180+ [tool .ruff .lint . per-file-ignores ]
176181"tests/*" = [
177182 " S101" , # Use of assert detected
178183 " S301" , # Use of pickle detected
@@ -182,14 +187,14 @@ exclude = [".venv/"]
182187 " D101" , # Missing docstring in public class
183188]
184189
185- [tool .ruff .pydocstyle ]
190+ [tool .ruff .lint . pydocstyle ]
186191convention = " google"
187192ignore-decorators = [" typing.overload" ]
188193
189- [tool .ruff .pylint ]
194+ [tool .ruff .lint . pylint ]
190195allow-magic-value-types = [" int" , " str" , " float" ]
191196
192- [tool .ruff .flake8-bugbear ]
197+ [tool .ruff .lint . flake8-bugbear ]
193198extend-immutable-calls = []
194199
195200[tool .pytest .ini_options ]
0 commit comments