-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (55 loc) · 1.38 KB
/
pyproject.toml
File metadata and controls
62 lines (55 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[project]
name = "asyncapi-python"
version = "0.3.0"
license = { text = "Apache-2.0" }
description = "Easily generate type-safe and async Python applications from AsyncAPI 3 specifications."
authors = [{ name = "Yaroslav Petrov", email = "yaroslav.v.petrov@gmail.com" }]
readme = "README.md"
requires-python = ">=3.10,<3.14"
dependencies = ["pydantic>=2", "pytz"]
[project.optional-dependencies]
codegen = [
"jinja2>=3.1.4",
"typer>=0.15.0",
"click>=8.0.0",
"pyyaml",
"datamodel-code-generator[http]>=0.26.4",
"black",
]
amqp = ["aio-pika"]
[project.scripts]
asyncapi-python-codegen = "asyncapi_python_codegen:app"
[tool.uv]
dev-dependencies = [
"black",
"mypy",
"isort",
"types-pyyaml",
"pytest",
"types-pytz",
"pytest-asyncio",
"pytest-timeout",
"pyright>=1.1.405",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = [
"src/asyncapi_python_pants",
"src/asyncapi_python_codegen",
"src/asyncapi_python",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"
asyncio_default_test_loop_scope = "session"
timeout = 30
[tool.pyright]
include = ["src", "*.py"]
exclude = ["**/__pycache__", "src/asyncapi_python_pants"]
pythonVersion = "3.10"
pythonPlatform = "Linux"
typeCheckingMode = "strict"
venvPath = "."
venv = ".venv"