1- [tool . poetry ]
1+ [project ]
22name = " taskiq-litestar"
33description = " Taskiq integration with litestar"
4- authors = [" Taskiq team <taskiq@no-reply.com>" ]
5- maintainers = [" Taskiq team <taskiq@no-reply.com>" ]
4+ authors = [
5+ { name = " Taskiq team" , email = " taskiq@no-reply.com" }
6+ ]
7+ maintainers = [
8+ { name = " Taskiq team" , email = " taskiq@no-reply.com" }
9+ ]
610version = " 0.1.1"
711readme = " README.md"
8- license = " LICENSE"
12+ requires-python = " >=3.10"
13+ license = " MIT"
14+ license-files = [" LICENSE" ]
915classifiers = [
1016 " Typing :: Typed" ,
1117 " Programming Language :: Python" ,
1218 " Programming Language :: Python :: 3" ,
1319 " Programming Language :: Python :: 3 :: Only" ,
14- " Programming Language :: Python :: 3.8" ,
15- " Programming Language :: Python :: 3.9" ,
1620 " Programming Language :: Python :: 3.10" ,
1721 " Programming Language :: Python :: 3.11" ,
22+ " Programming Language :: Python :: 3.12" ,
23+ " Programming Language :: Python :: 3.13" ,
1824 " Operating System :: OS Independent" ,
1925 " Intended Audience :: Developers" ,
2026 " Topic :: System :: Networking" ,
2127 " Development Status :: 3 - Alpha" ,
2228]
2329keywords = [" taskiq" , " tasks" , " distributed" , " async" , " litestar" ]
24- packages = [{ include = " taskiq_litestar" }]
25-
26- [tool .poetry .dependencies ]
27- python = " ^3.8.1"
28- taskiq = " ^0"
29- litestar = " ^2"
30+ dependencies = [
31+ " litestar>=2.18.0" ,
32+ " taskiq>=0.12.0" ,
33+ ]
3034
31- [tool .poetry .group .dev .dependencies ]
32- mypy = " ^1"
33- pre-commit = " ^2.20.0"
34- black = " ^23.1.0"
35- ruff = " ^0.0.292"
35+ [project .optional-dependencies ]
36+ dev = [
37+ " black>=25.11.0" ,
38+ " coverage>=7.12.0" ,
39+ " mypy>=1.19.0" ,
40+ " pre-commit>=4.5.0" ,
41+ " pytest>=9.0.1" ,
42+ " pytest-cov>=7.0.0" ,
43+ " ruff>=0.14.7" ,
44+ ]
3645
3746[tool .mypy ]
3847strict = true
@@ -47,13 +56,17 @@ warn_return_any = false
4756warn_unused_ignores = false
4857
4958[build-system ]
50- requires = [" poetry-core" ]
51- build-backend = " poetry.core.masonry.api"
59+ requires = [" uv_build>=0.9.13,<0.10.0" ]
60+ build-backend = " uv_build"
61+
62+ [tool .uv .build-backend ]
63+ module-root = " "
64+ module-name = " taskiq_litestar"
5265
5366[tool .ruff ]
5467# List of enabled rulsets.
5568# See https://docs.astral.sh/ruff/rules/ for more information.
56- select = [
69+ lint. select = [
5770 " E" , # Error
5871 " F" , # Pyflakes
5972 " W" , # Pycodestyle
@@ -79,25 +92,27 @@ select = [
7992 " ERA" , # Checks for commented out code
8093 " PL" , # PyLint checks
8194 " RUF" , # Specific to Ruff checks
95+ " FA102" , # Future annotations
96+ " UP" , # Pyupgrade
8297]
83- ignore = [
98+ lint. ignore = [
8499 " D105" , # Missing docstring in magic method
85100 " D107" , # Missing docstring in __init__
86101 " D212" , # Multi-line docstring summary should start at the first line
87102 " D401" , # First line should be in imperative mood
88103 " D104" , # Missing docstring in public package
89104 " D100" , # Missing docstring in public module
90- " ANN102" , # Missing type annotation for self in method
91- " ANN101" , # Missing type annotation for argument
92105 " ANN401" , # typing.Any are disallowed in `**kwargs
93106 " PLR0913" , # Too many arguments for function call
94107 " D106" , # Missing docstring in public nested class
95108]
96109exclude = [" .venv/" ]
97- mccabe = { max-complexity = 10 }
98110line-length = 88
99111
100- [tool .ruff .per-file-ignores ]
112+ [tool .ruff .lint .mccabe ]
113+ max-complexity = 10
114+
115+ [tool .ruff .lint .per-file-ignores ]
101116"tests/*" = [
102117 " S101" , # Use of assert detected
103118 " S301" , # Use of pickle detected
@@ -107,14 +122,14 @@ line-length = 88
107122 " D101" , # Missing docstring in public class
108123]
109124
110- [tool .ruff .pydocstyle ]
125+ [tool .ruff .lint . pydocstyle ]
111126convention = " pep257"
112127ignore-decorators = [" typing.overload" ]
113128
114- [tool .ruff .pylint ]
115- allow-magic-value-types = [" int" , " str" , " float" , " tuple " ]
129+ [tool .ruff .lint . pylint ]
130+ allow-magic-value-types = [" int" , " str" , " float" ]
116131
117- [tool .ruff .flake8-bugbear ]
132+ [tool .ruff .lint . flake8-bugbear ]
118133extend-immutable-calls = [
119134 " taskiq_dependencies.Depends" ,
120135 " taskiq.TaskiqDepends" ,
0 commit comments