-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
86 lines (75 loc) · 2.24 KB
/
pyproject.toml
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Copyright (c) 2017-2025 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
[tool.poetry]
name = "dazl"
version = "8.1.0"
description = "high-level Ledger API client for Daml ledgers"
license = "Apache-2.0"
authors = ["Davin K. Tanabe <[email protected]>"]
readme = 'README.md'
repository = "https://github.com/digital-asset/dazl-client"
homepage = "https://github.com/digital-asset/dazl-client"
keywords = ["daml", "blockchain", "dlt", "distributed ledger", "digital asset"]
packages = [{ include = "dazl", from = "python" }, { include = "_dazl", from = "python" }]
[tool.poetry.dependencies]
python = "^3.9.2"
googleapis_common_protos = "^1"
grpcio = "1.67.1"
protobuf = ">=5"
pygments = { version = "*", optional = true }
pyOpenSSL = { version = "*", optional = true }
semver = "*"
typing_extensions = { version = "*" }
[tool.poetry.extras]
pygments = ["pygments"]
tls-testing = ["pyOpenSSL"]
[tool.poetry.scripts]
dazl = 'dazl.cli:main'
[tool.poetry.group.dev.dependencies]
black = "*"
grpc-stubs = "*"
grpcio-tools = "1.67.1"
isort = "^5"
jinja2 = "^3"
mypy = "*"
pyjwt = "*"
pytest = "*"
pytest-asyncio = "*"
rich = "^13.7.0"
setuptools = "*"
sphinx = "*"
sphinx-autobuild = "*"
sphinx-markdown-builder = "*"
types-protobuf = "*"
types-pyOpenSSL = "*"
types-requests = "*"
types-setuptools = "*"
watchdog = "*"
types-pyyaml = "^6.0.12.20250402"
pyyaml = "^6.0.2"
[tool.black]
line-length = 100
[tool.isort]
add_imports = ["from __future__ import annotations"]
combine_as_imports = true
combine_star = true
force_sort_within_sections = true
group_by_package = true
include_trailing_comma = true
line_length = 100
multi_line_output = 3
[tool.mypy]
cache_dir = '.cache/mypy'
namespace_packages = true
[[tool.mypy.overrides]]
module = ['google._upb.*', 'google.protobuf.pyext.*', 'google.rpc.*', 'google.rpc.status_pb2.*', 'grpc._cython.*', 'grpc.aio.*', 'grpc_tools.*', 'psutil.*', 'pygments.*', 'semver.*']
ignore_missing_imports = true
[tool.pytest.ini_options]
cache_dir = ".cache/pytest"
log_cli = true
log_cli_level = "DEBUG"
junit_family = "xunit1"
testpaths = ["python/tests/structure", "python/tests/unit"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"