-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (50 loc) · 1.8 KB
/
pyproject.toml
File metadata and controls
68 lines (50 loc) · 1.8 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
[tool.black]
line-length = 110
[tool.mypy]
no_implicit_optional = false
ignore_missing_imports = true
show_error_codes = true
disable_error_code = "assignment"
[tool.poetry]
name = "bitcoin-usb"
version = "4.1.0"
authors = ["andreasgriffin <andreasgriffin@proton.me>"]
license = "GPL-3.0"
readme = "README.md"
description = "Wrapper around hwi, such that one can sign bdk PSBTs directly"
homepage = "https://github.com/andreasgriffin/bitcoin-usb"
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
bdkpython ="^2.0.0"
# HWI didnt merge the Jade Plus Fix yet, so I am using the head of HWI + the Jade Plus udev rule fix
hwi = { git = "https://github.com/bitcoin-core/HWI.git", branch = "master" } # "^3.0.0"
pyqt6 = "^6.6.1"
mnemonic = "^0.21"
requests = "^2.32.3" # essential for Jade to work
trezor = "^0.20.0"
bitcoin-safe-lib = { git = "https://github.com/andreasgriffin/bitcoin-safe-lib.git", branch = "main" }
cbor2 = "<5.8.0" # see https://github.com/bitcoin-core/HWI/issues/817
bleak = "^0.22.3"
jade-client = {git = "https://github.com/Blockstream/Jade.git", rev = "fb2642397ed7afdda08f3d1380ac6ee21164e7e6"}
aioitertools = "^0.13.0" # needed for jade-client
[tool.poetry.group.dev.dependencies]
pytest = "^8.2.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
target-version = "py310"
line-length = 110
src = ["bitcoin_usb"]
[tool.ruff.lint]
# E+F are defaults; include I for isort-equivalent import sorting and a few handy extras.
select = ["E", "F", "I", "B", "UP"]
ignore = ["E501"]
[tool.ruff.lint.isort]
# Optionally tune first/third party detection:
known-first-party = ["bitcoin_usb"]
[tool.ruff.lint.per-file-ignores]
"tests/**/*" = ["ALL"]
"tools/**/*" = ["ALL"]
[tool.ruff.format]
# Ruff formatter is Black-compatible; keep defaults or tweak here.