1
1
[tool .poetry ]
2
2
name = " taskiq-psqlpy"
3
- version = " 0.1.5 "
3
+ version = " 0.1.6 "
4
4
description = " PSQLPy and PostgreSQL integration for taskiq"
5
5
authors = [
" taskiq-team <[email protected] >" ]
6
6
readme = " README.md"
@@ -9,11 +9,11 @@ classifiers = [
9
9
" Programming Language :: Python" ,
10
10
" Programming Language :: Python :: 3" ,
11
11
" Programming Language :: Python :: 3 :: Only" ,
12
- " Programming Language :: Python :: 3.8" ,
13
12
" Programming Language :: Python :: 3.9" ,
14
13
" Programming Language :: Python :: 3.10" ,
15
14
" Programming Language :: Python :: 3.11" ,
16
15
" Programming Language :: Python :: 3.12" ,
16
+ " Programming Language :: Python :: 3.13" ,
17
17
]
18
18
homepage = " https://github.com/taskiq-python/taskiq-psqlpy"
19
19
repository = " https://github.com/taskiq-python/taskiq-psqlpy"
@@ -28,14 +28,14 @@ keywords = [
28
28
]
29
29
30
30
[tool .poetry .dependencies ]
31
- python = " ^3.8.1 "
32
- psqlpy = " ^0.8.7 "
33
- taskiq = " ^0.11.10 "
31
+ python = " ^3.9.0 "
32
+ psqlpy = " ^0.11.1 "
33
+ taskiq = " ^0.11.17 "
34
34
35
35
[tool .poetry .group .dev .dependencies ]
36
36
black = " ^23.1.0"
37
37
pre-commit = " ^2.20.0"
38
- mypy = " ^1.1.1 "
38
+ mypy = " ^1.16 "
39
39
flake8 = " ^6"
40
40
autoflake = " ^1.4"
41
41
yesqa = " ^1.4.0"
@@ -44,7 +44,7 @@ pytest-xdist = "^3.2.1"
44
44
anyio = " ^3.6.2"
45
45
pytest-cov = " ^4.0.0"
46
46
wemake-python-styleguide = " ^0.18.0"
47
- ruff = " ^0.3.4 "
47
+ ruff = " ^0.12 "
48
48
49
49
50
50
[tool .mypy ]
@@ -63,68 +63,68 @@ requires = ["poetry-core>=1.0.0"]
63
63
build-backend = " poetry.core.masonry.api"
64
64
65
65
[tool .ruff ]
66
+ line-length = 88
67
+
68
+ [tool .ruff .lint ]
66
69
# List of enabled rulsets.
67
70
# See https://docs.astral.sh/ruff/rules/ for more information.
68
71
select = [
69
- " E" , # Error
70
- " F" , # Pyflakes
71
- " W" , # Pycodestyle
72
+ " E" , # Error
73
+ " F" , # Pyflakes
74
+ " W" , # Pycodestyle
72
75
" C90" , # McCabe complexity
73
- " I" , # Isort
74
- " N" , # pep8-naming
75
- " D" , # Pydocstyle
76
+ " I" , # Isort
77
+ " N" , # pep8-naming
78
+ " D" , # Pydocstyle
76
79
" ANN" , # Pytype annotations
77
- " S" , # Bandit
78
- " B" , # Bugbear
80
+ " S" , # Bandit
81
+ " B" , # Bugbear
79
82
" COM" , # Commas
80
- " C4" , # Comprehensions
83
+ " C4" , # Comprehensions
81
84
" ISC" , # Implicit string concat
82
85
" PIE" , # Unnecessary code
83
86
" T20" , # Catch prints
84
87
" PYI" , # validate pyi files
85
- " Q" , # Checks for quotes
88
+ " Q" , # Checks for quotes
86
89
" RSE" , # Checks raise statements
87
90
" RET" , # Checks return statements
88
91
" SLF" , # Self checks
89
92
" SIM" , # Simplificator
90
93
" PTH" , # Pathlib checks
91
94
" ERA" , # Checks for commented out code
92
- " PL" , # PyLint checks
95
+ " PL" , # PyLint checks
93
96
" RUF" , # Specific to Ruff checks
94
97
]
95
98
ignore = [
96
- " D105" , # Missing docstring in magic method
97
- " D107" , # Missing docstring in __init__
98
- " D212" , # Multi-line docstring summary should start at the first line
99
- " D401" , # First line should be in imperative mood
100
- " D104" , # Missing docstring in public package
101
- " D100" , # Missing docstring in public module
102
- " ANN102" , # Missing type annotation for self in method
103
- " ANN101" , # Missing type annotation for argument
104
- " ANN401" , # typing.Any are disallowed in `**kwargs
99
+ " D105" , # Missing docstring in magic method
100
+ " D107" , # Missing docstring in __init__
101
+ " D212" , # Multi-line docstring summary should start at the first line
102
+ " D401" , # First line should be in imperative mood
103
+ " D104" , # Missing docstring in public package
104
+ " D100" , # Missing docstring in public module
105
+ " ANN401" , # typing.Any are disallowed in `**kwargs
105
106
" PLR0913" , # Too many arguments for function call
106
- " D106" , # Missing docstring in public nested class
107
+ " D106" , # Missing docstring in public nested class
107
108
]
108
109
exclude = [" .venv/" ]
109
110
mccabe = { max-complexity = 10 }
110
- line-length = 88
111
111
112
- [tool .ruff .per-file-ignores ]
112
+ [tool .ruff .lint . per-file-ignores ]
113
113
"tests/*" = [
114
- " S101" , # Use of assert detected
115
- " S301" , # Use of pickle detected
116
- " D103" , # Missing docstring in public function
114
+ " S101" , # Use of assert detected
115
+ " S301" , # Use of pickle detected
116
+ " D103" , # Missing docstring in public function
117
117
" SLF001" , # Private member accessed
118
- " S311" , # Standard pseudo-random generators are not suitable for security/cryptographic purposes
119
- " D101" , # Missing docstring in public class
118
+ " S311" , # Standard pseudo-random generators are not suitable for security/cryptographic purposes
119
+ " D101" , # Missing docstring in public class
120
120
]
121
121
122
- [tool .ruff .pydocstyle ]
122
+ [tool .ruff .lint . pydocstyle ]
123
123
convention = " pep257"
124
124
ignore-decorators = [" typing.overload" ]
125
125
126
- [tool .ruff .pylint ]
126
+ [tool .ruff .lint . pylint ]
127
127
allow-magic-value-types = [" int" , " str" , " float" ]
128
128
129
- [tool .ruff .flake8-bugbear ]
129
+ [tool .ruff .lint . flake8-bugbear ]
130
130
extend-immutable-calls = [" taskiq_dependencies.Depends" , " taskiq.TaskiqDepends" ]
0 commit comments