@@ -28,21 +28,20 @@ python = "^3.8.1"
2828aiohttp = " >=3.9.0,<4"
2929taskiq-dependencies = " >=1.3.1,<2"
3030pydantic = " ^2"
31- deepmerge = " ^1.1.0 "
31+ deepmerge = " ^2 "
3232
3333[tool .poetry .group .dev .dependencies ]
34- pytest = " ^7.1.2 "
34+ pytest = " ^8 "
3535mypy = " ^1"
36- pre-commit = " ^2.20.0"
37- coverage = " ^6.4.2"
38- pytest-cov = " ^3.0.0"
39- mock = " ^4.0.3"
40- anyio = " ^3.6.1"
41- pytest-xdist = { version = " ^2.5.0" , extras = [" psutil" ] }
42- types-mock = " ^4.0.15"
43- black = " ^23.1.0"
44- pytest-aiohttp = " ^1.0.4"
45- ruff = " ^0.1.7"
36+ pre-commit = " ^3"
37+ coverage = " ^7"
38+ pytest-cov = " ^5.0.0"
39+ mock = " ^5"
40+ anyio = " ^4"
41+ pytest-xdist = { version = " ^3" , extras = [" psutil" ] }
42+ types-mock = " ^5"
43+ black = " ^24"
44+ ruff = " ^0.6"
4645
4746[tool .mypy ]
4847strict = true
@@ -60,7 +59,7 @@ multi_line_output = 3
6059[tool .ruff ]
6160# List of enabled rulsets.
6261# See https://docs.astral.sh/ruff/rules/ for more information.
63- select = [
62+ lint. select = [
6463 " E" , # Error
6564 " F" , # Pyflakes
6665 " W" , # Pycodestyle
@@ -87,7 +86,7 @@ select = [
8786 " PL" , # PyLint checks
8887 " RUF" , # Specific to Ruff checks
8988]
90- ignore = [
89+ lint. ignore = [
9190 " D105" , # Missing docstring in magic method
9291 " D107" , # Missing docstring in __init__
9392 " D212" , # Multi-line docstring summary should start at the first line
@@ -103,10 +102,10 @@ ignore = [
103102
104103]
105104exclude = [" .venv/" ]
106- mccabe = { max-complexity = 10 }
105+ lint. mccabe = { max-complexity = 10 }
107106line-length = 88
108107
109- [tool .ruff .per-file-ignores ]
108+ [tool .ruff .lint . per-file-ignores ]
110109"tests/*" = [
111110 " S101" , # Use of assert detected
112111 " S301" , # Use of pickle detected
@@ -116,14 +115,14 @@ line-length = 88
116115 " D101" , # Missing docstring in public class
117116]
118117
119- [tool .ruff .pydocstyle ]
118+ [tool .ruff .lint . pydocstyle ]
120119convention = " pep257"
121120ignore-decorators = [" typing.overload" ]
122121
123- [tool .ruff .pylint ]
122+ [tool .ruff .lint . pylint ]
124123allow-magic-value-types = [" int" , " str" , " float" ]
125124
126- [tool .ruff .flake8-bugbear ]
125+ [tool .ruff .lint . flake8-bugbear ]
127126extend-immutable-calls = [
128127 " taskiq_dependencies.Depends" ,
129128 " aiohttp_deps.Depends" ,
0 commit comments