11[tool .poetry ]
22name = " taskiq-psqlpy"
3- version = " 0.1.5 "
3+ version = " 0.1.6 "
44description = " PSQLPy and PostgreSQL integration for taskiq"
55authors = [
" taskiq-team <[email protected] >" ]
66readme = " README.md"
@@ -9,11 +9,11 @@ classifiers = [
99 " Programming Language :: Python" ,
1010 " Programming Language :: Python :: 3" ,
1111 " Programming Language :: Python :: 3 :: Only" ,
12- " Programming Language :: Python :: 3.8" ,
1312 " Programming Language :: Python :: 3.9" ,
1413 " Programming Language :: Python :: 3.10" ,
1514 " Programming Language :: Python :: 3.11" ,
1615 " Programming Language :: Python :: 3.12" ,
16+ " Programming Language :: Python :: 3.13" ,
1717]
1818homepage = " https://github.com/taskiq-python/taskiq-psqlpy"
1919repository = " https://github.com/taskiq-python/taskiq-psqlpy"
@@ -28,14 +28,14 @@ keywords = [
2828]
2929
3030[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 "
3434
3535[tool .poetry .group .dev .dependencies ]
3636black = " ^23.1.0"
3737pre-commit = " ^2.20.0"
38- mypy = " ^1.1.1 "
38+ mypy = " ^1.16 "
3939flake8 = " ^6"
4040autoflake = " ^1.4"
4141yesqa = " ^1.4.0"
@@ -44,7 +44,7 @@ pytest-xdist = "^3.2.1"
4444anyio = " ^3.6.2"
4545pytest-cov = " ^4.0.0"
4646wemake-python-styleguide = " ^0.18.0"
47- ruff = " ^0.3.4 "
47+ ruff = " ^0.12 "
4848
4949
5050[tool .mypy ]
@@ -63,68 +63,68 @@ requires = ["poetry-core>=1.0.0"]
6363build-backend = " poetry.core.masonry.api"
6464
6565[tool .ruff ]
66+ line-length = 88
67+
68+ [tool .ruff .lint ]
6669# List of enabled rulsets.
6770# See https://docs.astral.sh/ruff/rules/ for more information.
6871select = [
69- " E" , # Error
70- " F" , # Pyflakes
71- " W" , # Pycodestyle
72+ " E" , # Error
73+ " F" , # Pyflakes
74+ " W" , # Pycodestyle
7275 " C90" , # McCabe complexity
73- " I" , # Isort
74- " N" , # pep8-naming
75- " D" , # Pydocstyle
76+ " I" , # Isort
77+ " N" , # pep8-naming
78+ " D" , # Pydocstyle
7679 " ANN" , # Pytype annotations
77- " S" , # Bandit
78- " B" , # Bugbear
80+ " S" , # Bandit
81+ " B" , # Bugbear
7982 " COM" , # Commas
80- " C4" , # Comprehensions
83+ " C4" , # Comprehensions
8184 " ISC" , # Implicit string concat
8285 " PIE" , # Unnecessary code
8386 " T20" , # Catch prints
8487 " PYI" , # validate pyi files
85- " Q" , # Checks for quotes
88+ " Q" , # Checks for quotes
8689 " RSE" , # Checks raise statements
8790 " RET" , # Checks return statements
8891 " SLF" , # Self checks
8992 " SIM" , # Simplificator
9093 " PTH" , # Pathlib checks
9194 " ERA" , # Checks for commented out code
92- " PL" , # PyLint checks
95+ " PL" , # PyLint checks
9396 " RUF" , # Specific to Ruff checks
9497]
9598ignore = [
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
105106 " PLR0913" , # Too many arguments for function call
106- " D106" , # Missing docstring in public nested class
107+ " D106" , # Missing docstring in public nested class
107108]
108109exclude = [" .venv/" ]
109110mccabe = { max-complexity = 10 }
110- line-length = 88
111111
112- [tool .ruff .per-file-ignores ]
112+ [tool .ruff .lint . per-file-ignores ]
113113"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
117117 " 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
120120]
121121
122- [tool .ruff .pydocstyle ]
122+ [tool .ruff .lint . pydocstyle ]
123123convention = " pep257"
124124ignore-decorators = [" typing.overload" ]
125125
126- [tool .ruff .pylint ]
126+ [tool .ruff .lint . pylint ]
127127allow-magic-value-types = [" int" , " str" , " float" ]
128128
129- [tool .ruff .flake8-bugbear ]
129+ [tool .ruff .lint . flake8-bugbear ]
130130extend-immutable-calls = [" taskiq_dependencies.Depends" , " taskiq.TaskiqDepends" ]
0 commit comments