|
1 | 1 | [project] |
2 | 2 | name = "taskiq-pipelines" |
3 | | -version = "0.0.1" |
4 | 3 | description = "Taskiq pipelines for task chaining." |
5 | | -authors = [{ name = "Pavel Kirilin", email = "<win10@list.ru>" }] |
6 | | -maintainers = [{ name = "Pavel Kirilin", email = "<win10@list.ru>" }] |
7 | 4 | readme = "README.md" |
8 | | -repository = "https://github.com/taskiq-python/taskiq-pipelines" |
| 5 | +requires-python = ">=3.10,<4" |
9 | 6 | license = "MIT" |
10 | 7 | license-files = ["LICENSE"] |
| 8 | +authors = [{ name = "Pavel Kirilin", email = "s3riussan@gmail.com" }] |
| 9 | +maintainers = [{ name = "Pavel Kirilin", email = "s3riussan@gmail.com" }] |
| 10 | +keywords = ["async", "distributed", "pipelines", "taskiq", "tasks"] |
11 | 11 | classifiers = [ |
12 | | - "Typing :: Typed", |
13 | | - "Programming Language :: Python", |
14 | | - "Programming Language :: Python :: 3", |
15 | | - "Programming Language :: Python :: 3 :: Only", |
16 | | - "Programming Language :: Python :: 3.10", |
17 | | - "Programming Language :: Python :: 3.11", |
18 | | - "Programming Language :: Python :: 3.12", |
19 | | - "Programming Language :: Python :: 3.13", |
20 | | - "Operating System :: OS Independent", |
21 | | - "Intended Audience :: Developers", |
22 | | - "Topic :: System :: Networking", |
23 | | - "Development Status :: 3 - Alpha", |
| 12 | + "Development Status :: 3 - Alpha", |
| 13 | + "Intended Audience :: Developers", |
| 14 | + "Operating System :: OS Independent", |
| 15 | + "Programming Language :: Python", |
| 16 | + "Programming Language :: Python :: 3", |
| 17 | + "Programming Language :: Python :: 3 :: Only", |
| 18 | + "Programming Language :: Python :: 3.10", |
| 19 | + "Programming Language :: Python :: 3.11", |
| 20 | + "Programming Language :: Python :: 3.12", |
| 21 | + "Programming Language :: Python :: 3.13", |
| 22 | + "Topic :: System :: Networking", |
| 23 | + "Typing :: Typed", |
24 | 24 | ] |
25 | | -homepage = "https://github.com/taskiq-python/taskiq-pipelines" |
26 | | -keywords = ["taskiq", "pipelines", "tasks", "distributed", "async"] |
27 | | - |
28 | | -requires-python = ">=3.10,<4" |
29 | | - |
30 | 25 | dependencies = [ |
31 | | - "taskiq>=0.11.12,<1", |
32 | | - "typing-extensions>=4.3.0,<5", |
33 | | - "pydantic>=2,<3", |
| 26 | + "pydantic>=2,<3", |
| 27 | + "taskiq>=0.11.12,<1", |
| 28 | + "typing-extensions>=4.3.0,<5", |
34 | 29 | ] |
| 30 | +dynamic = ["version"] |
| 31 | + |
| 32 | +[project.urls] |
| 33 | +Homepage = "https://github.com/taskiq-python/taskiq-pipelines" |
| 34 | +Repository = "https://github.com/taskiq-python/taskiq-pipelines" |
35 | 35 |
|
36 | 36 | [dependency-groups] |
37 | 37 | dev = [ |
38 | | - "pytest>=9.0.2", |
39 | | - "black>=26.3.1", |
40 | | - "pytest-cov>=7.1.0", |
41 | | - "anyio>=4", |
42 | | - "pre-commit>=4", |
43 | | - "mypy>=1", |
44 | | - "pytest-xdist[psutil]>=3", |
45 | | - "ruff>=0.15.0", |
| 38 | + "anyio>=4", |
| 39 | + "black>=26.3.1", |
| 40 | + "mypy>=1", |
| 41 | + "pre-commit>=4", |
| 42 | + "pytest>=9.0.2", |
| 43 | + "pytest-cov>=7.1.0", |
| 44 | + "pytest-xdist[psutil]>=3", |
| 45 | + "ruff>=0.15.0", |
46 | 46 | ] |
47 | 47 |
|
48 | | -[project.urls] |
49 | | -Repository = "https://github.com/taskiq-python/taskiq-pipelines" |
| 48 | +[build-system] |
| 49 | +requires = ["hatchling", "versioningit"] |
| 50 | +build-backend = "hatchling.build" |
50 | 51 |
|
| 52 | +[tool.hatch.version] |
| 53 | +source = "versioningit" |
| 54 | + |
| 55 | +[tool.isort] |
| 56 | +profile = "black" |
| 57 | +multi_line_output = 3 |
51 | 58 |
|
52 | 59 | [tool.mypy] |
53 | 60 | strict = true |
54 | 61 | ignore_missing_imports = true |
55 | | -allow_subclassing_any = true |
56 | | -allow_untyped_calls = true |
| 62 | +disallow_subclassing_any = false |
| 63 | +disallow_untyped_calls = false |
57 | 64 | pretty = true |
58 | | -show_error_codes = true |
59 | 65 | implicit_reexport = true |
60 | 66 | allow_untyped_decorators = true |
61 | 67 | warn_return_any = false |
62 | 68 | warn_unused_ignores = false |
63 | 69 |
|
64 | | -[tool.isort] |
65 | | -profile = "black" |
66 | | -multi_line_output = 3 |
67 | | - |
68 | | -[build-system] |
69 | | -requires = ["uv_build>=0.11.0,<0.12.0"] |
70 | | -build-backend = "uv_build" |
71 | | - |
72 | | -[tool.uv.build-backend] |
73 | | -module-name = "taskiq_pipelines" |
74 | | -module-root = "" |
75 | | - |
76 | 70 | [tool.ruff] |
77 | 71 | # List of enabled rulsets. |
78 | 72 | # See https://docs.astral.sh/ruff/rules/ for more information. |
79 | 73 | lint.select = [ |
80 | | - "E", # Error |
81 | | - "F", # Pyflakes |
82 | | - "W", # Pycodestyle |
83 | | - "C90", # McCabe complexity |
84 | | - "I", # Isort |
85 | | - "N", # pep8-naming |
86 | | - "D", # Pydocstyle |
87 | | - "ANN", # Pytype annotations |
88 | | - "S", # Bandit |
89 | | - "B", # Bugbear |
90 | | - "COM", # Commas |
91 | | - "C4", # Comprehensions |
92 | | - "ISC", # Implicit string concat |
93 | | - "PIE", # Unnecessary code |
94 | | - "T20", # Catch prints |
95 | | - "PYI", # validate pyi files |
96 | | - "Q", # Checks for quotes |
97 | | - "RSE", # Checks raise statements |
98 | | - "RET", # Checks return statements |
99 | | - "SLF", # Self checks |
100 | | - "SIM", # Simplificator |
101 | | - "PTH", # Pathlib checks |
102 | | - "ERA", # Checks for commented out code |
103 | | - "PL", # PyLint checks |
104 | | - "RUF", # Specific to Ruff checks |
| 74 | + "E", # Error |
| 75 | + "F", # Pyflakes |
| 76 | + "W", # Pycodestyle |
| 77 | + "C90", # McCabe complexity |
| 78 | + "I", # Isort |
| 79 | + "N", # pep8-naming |
| 80 | + "D", # Pydocstyle |
| 81 | + "ANN", # Pytype annotations |
| 82 | + "S", # Bandit |
| 83 | + "B", # Bugbear |
| 84 | + "COM", # Commas |
| 85 | + "C4", # Comprehensions |
| 86 | + "ISC", # Implicit string concat |
| 87 | + "PIE", # Unnecessary code |
| 88 | + "T20", # Catch prints |
| 89 | + "PYI", # validate pyi files |
| 90 | + "Q", # Checks for quotes |
| 91 | + "RSE", # Checks raise statements |
| 92 | + "RET", # Checks return statements |
| 93 | + "SLF", # Self checks |
| 94 | + "SIM", # Simplificator |
| 95 | + "PTH", # Pathlib checks |
| 96 | + "ERA", # Checks for commented out code |
| 97 | + "PL", # PyLint checks |
| 98 | + "RUF", # Specific to Ruff checks |
105 | 99 | ] |
106 | 100 | lint.ignore = [ |
107 | | - "D105", # Missing docstring in magic method |
108 | | - "D107", # Missing docstring in __init__ |
109 | | - "D212", # Multi-line docstring summary should start at the first line |
110 | | - "D401", # First line should be in imperative mood |
111 | | - "D104", # Missing docstring in public package |
112 | | - "D100", # Missing docstring in public module |
113 | | - "ANN401", # typing.Any are disallowed in `**kwargs |
114 | | - "PLR0913", # Too many arguments for function call |
115 | | - "D106", # Missing docstring in public nested class |
116 | | - "SLF001", # Private member accessed |
| 101 | + "D105", # Missing docstring in magic method |
| 102 | + "D107", # Missing docstring in __init__ |
| 103 | + "D212", # Multi-line docstring summary should start at the first line |
| 104 | + "D401", # First line should be in imperative mood |
| 105 | + "D104", # Missing docstring in public package |
| 106 | + "D100", # Missing docstring in public module |
| 107 | + "ANN401", # typing.Any are disallowed in `**kwargs |
| 108 | + "PLR0913", # Too many arguments for function call |
| 109 | + "D106", # Missing docstring in public nested class |
| 110 | + "SLF001", # Private member accessed |
117 | 111 | ] |
118 | 112 | lint.mccabe = { max-complexity = 10 } |
119 | 113 | line-length = 88 |
120 | 114 |
|
121 | 115 | [tool.ruff.lint.per-file-ignores] |
122 | 116 | "tests/*" = [ |
123 | | - "S101", # Use of assert detected |
124 | | - "S301", # Use of pickle detected |
125 | | - "D103", # Missing docstring in public function |
126 | | - "SLF001", # Private member accessed |
127 | | - "S311", # Standard pseudo-random generators are not suitable for security/cryptographic purposes |
128 | | - "D101", # Missing docstring in public class |
| 117 | + "S101", # Use of assert detected |
| 118 | + "S301", # Use of pickle detected |
| 119 | + "D103", # Missing docstring in public function |
| 120 | + "SLF001", # Private member accessed |
| 121 | + "S311", # Standard pseudo-random generators are not suitable for security/cryptographic purposes |
| 122 | + "D101", # Missing docstring in public class |
129 | 123 | ] |
130 | 124 |
|
131 | 125 | [tool.ruff.lint.pydocstyle] |
|
0 commit comments