forked from trezor/trezor-firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
103 lines (88 loc) · 1.87 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[tool.poetry]
name = "trezor-firmware"
version = "0.0.0"
description = ""
authors = ["SatoshiLabs <[email protected]>"]
[tool.poetry.dependencies]
# all
python = "^3.8.1"
trezor = {path = "./python", develop = true}
scons = "*"
protobuf = "*"
nanopb = "^0.4.3"
## test tools
pytest = "^6.1.0"
coverage = "<5" # coverage 5+ uses binary sqlite format
flaky = "^3.6.1" # https://github.com/box/flaky/issues/156
pytest-ordering = "*"
pytest-random-order = "*"
pytest-timeout = "*"
pytest-xdist = "*"
tox = "*"
dominate = "*"
# hardware tests
pyserial = "*"
## test requirements
shamir-mnemonic = "^0.2.1"
fido2 = "^0.8.0"
python-bitcoinlib = "^0.11.0"
## typing
typing-extensions = ">=3.7.4"
## style
isort = "^5"
flake8 = ">=7"
black = ">=24.2"
mako = "^1.0.7"
munch = "^2.3.2"
autoflake = "*"
flake8-requirements = ">=2.1.0"
pylint = "^2.11"
# common
demjson3 = "*"
graphviz = "*"
## cointool
click = "^8"
ed25519 = "^1.4"
requests = "^2.31"
termcolor = "*"
Pillow = ">=10.0.1"
# crypto
ecdsa = "^0.16"
curve25519-donna = "*"
pyasn1 = "*"
# legacy
setuptools = ">=24.2.0"
# storage
cryptography = "*"
hypothesis = "*"
inotify = "*"
yamllint = "^1.25.0"
vulture = "^2.6"
# tools
binsize = "^0.1.3"
toiftool = {path = "./python/tools/toiftool", develop = true, python = ">=3.8"}
trezor-pylint-plugin = {path = "./tools/trezor-pylint-plugin", develop = true}
[tool.poetry.dev-dependencies]
scan-build = "*"
towncrier = "^23.6.0"
#freetype-py = "^2.3.0"
[build-system]
requires = ["poetry>=1;<1.1", "pip>=20"]
build-backend = "poetry.masonry.api"
[tool.isort]
profile = "black"
extra_standard_library = [
"micropython",
"ubinascii",
"ustruct",
"uctypes",
"utime",
"utimeq",
"trezorio",
"trezorui",
"trezorutils",
"trezorconfig",
"trezorcrypto",
]
known_first_party = ["trezorlib", "apps", "coin_info", "marketcap", "ui_tests", "gitlab"]
known_third_party = ["trezor", "storage"]