@@ -25,6 +25,7 @@ classifiers = [
2525 " Programming Language :: Python :: 3.9" ,
2626 " Programming Language :: Python :: 3.10" ,
2727 " Programming Language :: Python :: 3.11" ,
28+ " Programming Language :: Python :: 3.12" ,
2829 " Operating System :: OS Independent" ,
2930 " Topic :: Software Development :: Libraries :: Python Modules" ,
3031 " Topic :: Software Development :: Libraries" ,
@@ -42,7 +43,7 @@ dynamic = ["version"]
4243
4344dependencies = [
4445 " taskiq>=0.10.0,<1.0.0" ,
45- " faststream>=0.2.12 ,<1.0.0" ,
46+ " faststream>=0.3.0 ,<1.0.0" ,
4647]
4748
4849[project .optional-dependencies ]
@@ -58,25 +59,27 @@ kafka = [
5859 " faststream[kafka]"
5960]
6061
62+ redis = [
63+ " faststream[redis]"
64+ ]
65+
6166# local dev
6267test = [
6368 " taskiq-faststream[nats]" ,
6469 " taskiq-faststream[rabbit]" ,
6570 " taskiq-faststream[kafka]" ,
71+ " taskiq-faststream[redis]" ,
6672
6773 " coverage[toml]>=7.2.0,<8.0.0" ,
68- " pytest== 7.4.3 " ,
74+ " pytest>= 7.4.0,<8 " ,
6975]
7076
7177dev = [
7278 " taskiq-faststream[test]" ,
7379
74- " mypy==1.7.1" ,
75- " black==23.11.0" ,
76- " isort==5.12.0" ,
77- " ruff==0.1.6" ,
78- " pyupgrade-directories==0.3.0" ,
79- " pre-commit==3.5.0" ,
80+ " mypy>=1.8.0,<1.9.0" ,
81+ " ruff==0.1.11" ,
82+ " pre-commit >=3.6.0,<4.0.0" ,
8083]
8184
8285[project .urls ]
@@ -139,6 +142,8 @@ select = [
139142 " ISC" , # Implicit string concat
140143 " PIE" , # Unnecessary code
141144 " T20" , # Catch prints
145+ " UP" , # pyupgrade
146+ " PERF" ,# perfomance checks
142147 " PYI" , # validate pyi files
143148 " Q" , # Checks for quotes
144149 " RSE" , # Checks raise statements
@@ -162,6 +167,8 @@ ignore = [
162167 " ANN401" , # typing.Any are disallowed in `**kwargs
163168 " PLR0913" , # Too many arguments for function call
164169 " D106" , # Missing docstring in public nested class
170+ " COM812" ,
171+ " ISC001" ,
165172]
166173exclude = [" .venv/" ]
167174
@@ -211,8 +218,7 @@ omit = [
211218[tool .coverage .report ]
212219show_missing = true
213220skip_empty = true
214- exclude_lines = [
215- " .*# pragma: no cover" ,
221+ exclude_also = [
216222 " if __name__ == .__main__.:" ,
217223 " self.logger" ,
218224 " def __repr__" ,
0 commit comments