22name = " taskiq-redis"
33version = " 0.0.0"
44description = " Redis integration for taskiq"
5- authors = [
6- {
name =
" Taskiq team" ,
email =
" [email protected] " }
7- ]
8- maintainers = [
9- {
name =
" Taskiq team" ,
email =
" [email protected] " }
10- ]
11- license = " MIT"
12- license-files = [" LICENSE" ]
135readme = " README.md"
146requires-python = " >=3.10"
15- classifiers = [
16- " Programming Language :: Python" ,
17- " Programming Language :: Python :: 3" ,
18- " Programming Language :: Python :: 3 :: Only" ,
19- " Programming Language :: Python :: 3.10" ,
20- " Programming Language :: Python :: 3.11" ,
21- " Programming Language :: Python :: 3.12" ,
22- " Programming Language :: Python :: 3.13" ,
23- ]
7+ license = " MIT"
8+ license-files = [" LICENSE" ]
9+ authors = [{
name =
" Taskiq team" ,
email =
" [email protected] " }]
10+ maintainers = [{
name =
" Taskiq team" ,
email =
" [email protected] " }]
2411keywords = [
25- " taskiq" ,
26- " tasks" ,
27- " distributed" ,
28- " async" ,
29- " redis" ,
30- " result_backend" ,
12+ " async" ,
13+ " distributed" ,
14+ " redis" ,
15+ " result_backend" ,
16+ " taskiq" ,
17+ " tasks" ,
18+ ]
19+ classifiers = [
20+ " Programming Language :: Python" ,
21+ " Programming Language :: Python :: 3" ,
22+ " Programming Language :: Python :: 3 :: Only" ,
23+ " Programming Language :: Python :: 3.10" ,
24+ " Programming Language :: Python :: 3.11" ,
25+ " Programming Language :: Python :: 3.12" ,
26+ " Programming Language :: Python :: 3.13" ,
3127]
3228dependencies = [
33- " redis>=7.0.0,<7.1.0 " , # TODO: fix issues in tests with 7.1.0
34- " taskiq>=0.12.0" ,
29+ " redis>=7.0.0,<8 " , # TODO: fix issues in tests with 7.1.0
30+ " taskiq>=0.12.0" ,
3531]
3632
33+ [project .urls ]
34+ homepage = " https://github.com/taskiq-python/taskiq-redis"
35+ repository = " https://github.com/taskiq-python/taskiq-redis"
36+
3737[dependency-groups ]
3838dev = [
39- {include-group = " lint" },
40- {include-group = " test" },
41- " pre-commit>=4.5.0" ,
42- ]
43- test = [
44- " fakeredis>=2.32.1" ,
45- " freezegun>=1.5.5" ,
46- " pytest>=9.0.1" ,
47- " pytest-cov>=7.0.0" ,
48- " pytest-env>=1.2.0" ,
49- " pytest-xdist>=3.8.0" ,
39+ " pre-commit>=4.5.0" ,
40+ { include-group = " lint" },
41+ { include-group = " test" },
5042]
5143lint = [
52- " black>=25.11.0" ,
53- " mypy>=1.19.0" ,
54- " ruff>=0.14.7" ,
44+ " black>=25.11.0" ,
45+ " mypy>=1.19.0" ,
46+ " ruff>=0.14.7" ,
47+ ]
48+ test = [
49+ " fakeredis>=2.32.1" ,
50+ " freezegun>=1.5.5" ,
51+ " pytest>=9.0.1" ,
52+ " pytest-cov>=7.0.0" ,
53+ " pytest-env>=1.2.0" ,
54+ " pytest-xdist>=3.8.0" ,
5555]
5656
57- [project . urls ]
58- homepage = " https://github.com/taskiq-python/taskiq-redis "
59- repository = " https://github.com/taskiq-python/taskiq-redis "
57+ [build-system ]
58+ requires = [ " uv_build>=0.9.13,<0.10.0 " ]
59+ build-backend = " uv_build "
6060
6161[tool .mypy ]
6262strict = true
@@ -70,61 +70,59 @@ allow_untyped_decorators = true
7070warn_return_any = false
7171
7272[[tool .mypy .overrides ]]
73- module = [' redis' ]
73+ module = [" redis" ]
7474ignore_missing_imports = true
7575ignore_errors = true
7676strict = false
7777
78- [build-system ]
79- requires = [" uv_build>=0.9.13,<0.10.0" ]
80- build-backend = " uv_build"
81-
82- [tool .uv .build-backend ]
83- module-root = " "
84- module-name = " taskiq_redis"
78+ [tool .pytest .ini_options ]
79+ filterwarnings = [
80+ # about deprecated RedisScheduleSource usage - delete after removing RedisScheduleSource
81+ " ignore:RedisScheduleSource is deprecated:DeprecationWarning" ,
82+ ]
8583
8684[tool .ruff ]
8785# List of enabled rulsets.
8886# See https://docs.astral.sh/ruff/rules/ for more information.
8987lint.select = [
90- " E" , # Error
91- " F" , # Pyflakes
92- " W" , # Pycodestyle
93- " C90" , # McCabe complexity
94- " I" , # Isort
95- " N" , # pep8-naming
96- " D" , # Pydocstyle
97- " ANN" , # Pytype annotations
98- " S" , # Bandit
99- " B" , # Bugbear
100- " COM" , # Commas
101- " C4" , # Comprehensions
102- " ISC" , # Implicit string concat
103- " PIE" , # Unnecessary code
104- " T20" , # Catch prints
105- " PYI" , # validate pyi files
106- " Q" , # Checks for quotes
107- " RSE" , # Checks raise statements
108- " RET" , # Checks return statements
109- " SLF" , # Self checks
110- " SIM" , # Simplificator
111- " PTH" , # Pathlib checks
112- " ERA" , # Checks for commented out code
113- " PL" , # PyLint checks
114- " RUF" , # Specific to Ruff checks
115- " FA102" , # Future annotations
116- " UP" , # Pyupgrade
88+ " E" , # Error
89+ " F" , # Pyflakes
90+ " W" , # Pycodestyle
91+ " C90" , # McCabe complexity
92+ " I" , # Isort
93+ " N" , # pep8-naming
94+ " D" , # Pydocstyle
95+ " ANN" , # Pytype annotations
96+ " S" , # Bandit
97+ " B" , # Bugbear
98+ " COM" , # Commas
99+ " C4" , # Comprehensions
100+ " ISC" , # Implicit string concat
101+ " PIE" , # Unnecessary code
102+ " T20" , # Catch prints
103+ " PYI" , # validate pyi files
104+ " Q" , # Checks for quotes
105+ " RSE" , # Checks raise statements
106+ " RET" , # Checks return statements
107+ " SLF" , # Self checks
108+ " SIM" , # Simplificator
109+ " PTH" , # Pathlib checks
110+ " ERA" , # Checks for commented out code
111+ " PL" , # PyLint checks
112+ " RUF" , # Specific to Ruff checks
113+ " FA102" , # Future annotations
114+ " UP" , # Pyupgrade
117115]
118116lint.ignore = [
119- " D105" , # Missing docstring in magic method
120- " D107" , # Missing docstring in __init__
121- " D212" , # Multi-line docstring summary should start at the first line
122- " D401" , # First line should be in imperative mood
123- " D104" , # Missing docstring in public package
124- " D100" , # Missing docstring in public module
125- " ANN401" , # typing.Any are disallowed in `**kwargs
126- " PLR0913" , # Too many arguments for function call
127- " D106" , # Missing docstring in public nested class
117+ " D105" , # Missing docstring in magic method
118+ " D107" , # Missing docstring in __init__
119+ " D212" , # Multi-line docstring summary should start at the first line
120+ " D401" , # First line should be in imperative mood
121+ " D104" , # Missing docstring in public package
122+ " D100" , # Missing docstring in public module
123+ " ANN401" , # typing.Any are disallowed in `**kwargs
124+ " PLR0913" , # Too many arguments for function call
125+ " D106" , # Missing docstring in public nested class
128126]
129127exclude = [" .venv/" ]
130128line-length = 88
@@ -134,12 +132,12 @@ max-complexity = 10
134132
135133[tool .ruff .lint .per-file-ignores ]
136134"tests/*" = [
137- " S101" , # Use of assert detected
138- " S301" , # Use of pickle detected
139- " D103" , # Missing docstring in public function
140- " SLF001" , # Private member accessed
141- " S311" , # Standard pseudo-random generators are not suitable for security/cryptographic purposes
142- " D101" , # Missing docstring in public class
135+ " S101" , # Use of assert detected
136+ " S301" , # Use of pickle detected
137+ " D103" , # Missing docstring in public function
138+ " SLF001" , # Private member accessed
139+ " S311" , # Standard pseudo-random generators are not suitable for security/cryptographic purposes
140+ " D101" , # Missing docstring in public class
143141]
144142
145143[tool .ruff .lint .pydocstyle ]
@@ -152,8 +150,6 @@ allow-magic-value-types = ["int", "str", "float"]
152150[tool .ruff .lint .flake8-bugbear ]
153151extend-immutable-calls = [" taskiq_dependencies.Depends" , " taskiq.TaskiqDepends" ]
154152
155- [tool .pytest .ini_options ]
156- filterwarnings = [
157- # about deprecated RedisScheduleSource usage - delete after removing RedisScheduleSource
158- ' ignore:RedisScheduleSource is deprecated:DeprecationWarning' ,
159- ]
153+ [tool .uv .build-backend ]
154+ module-root = " "
155+ module-name = " taskiq_redis"
0 commit comments