-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (66 loc) · 1.84 KB
/
Copy pathpyproject.toml
File metadata and controls
72 lines (66 loc) · 1.84 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
63
64
65
66
67
68
69
70
71
72
[tool.poetry]
name = "sdk-python"
version = "0.1.0"
description = "python-sdk"
authors = ["Temiloluwa Yusuf <ytemiloluwa@gmail.com>"]
readme = "README.md"
packages = [
{include = "app_btc", from = "packages/app_btc/src"},
{include = "app_manager", from = "packages/app_manager/src"},
{include = "core", from = "packages/core/src"},
{include = "hw_hid", from = "packages/hw_hid/src"},
{include = "hw_serialport", from = "packages/hw_serialport/src"},
{include = "hw_webusb", from = "packages/hw_webusb/src"},
{include = "interfaces", from = "packages/interfaces/src"},
{include = "util", from = "packages/util/src"},
]
[tool.poetry.dependencies]
python = ">=3.11"
pyserial = "^3.5"
semver = "^3.0.4"
hid = "^1.0.8"
pyusb = "^1.2.1"
packaging = "^23.0"
betterproto = "^1.2.5"
httpx = "^0.24.0"
python-bitcointx = "^1.1.5"
btclib = "^2023.7.12"
# Bitcoin libraries
bitcoinlib = "^0.7.5"
coincurve = "^20.0.0"
base58 = "^2.1.1"
ecdsa = "^0.18.0"
bech32 = "^1.2.0"
# Cryptography
cryptography = "^41.0.0"
# Protobuf
protobuf = "^4.24.0"
[tool.poetry.group.dev.dependencies]
ruff = "^0.5.0"
black = "^24.4.2"
mypy = "^1.10.0"
pytest = "^8.2.2"
pytest-asyncio = "^1.1.0"
hypothesis = "^6.127.4"
betterproto = { version = "^1.2.5", extras = ["compiler"] }
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
target-version = ['py311']
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = ["packages"]
filterwarnings = [
"ignore::pytest.PytestRemovedIn9Warning",
"ignore::DeprecationWarning",
"ignore::RuntimeWarning",
"ignore:.*Task exception was never retrieved.*:RuntimeWarning",
"ignore:.*coroutine.*was never awaited.*:RuntimeWarning",
]