-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
117 lines (105 loc) · 2.32 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[build-system]
requires = [
"setuptools>=61.2",
"setuptools_scm[toml]>=6.2",
"wheel"
]
build-backend = "setuptools.build_meta"
[project]
name = "ragger"
authors = [{name = "Ledger", email = "[email protected]"}]
description = "Testing framework using Speculos and LedgerComm as backends"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
]
requires-python = ">=3.8"
dependencies = [
"bip_utils>=2.4.0",
"py-sr25519-bindings>=0.2.0,<0.3.0",
"ledgered>=0.6.3",
]
dynamic = ["version"]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
Homepage = "https://github.com/LedgerHQ/ragger"
"Bug Tracker" = "https://github.com/LedgerHQ/ragger/issues"
[project.optional-dependencies]
tests = [
"pytest",
"pytest-cov",
]
checkers = [
"yapf",
"toml",
"flake8",
"flake8-pyproject",
"mypy",
"types-toml",
"bandit",
"pyqt5-stubs",
]
doc = [
# embeds pyreverse
"pylint",
"sphinx",
"sphinx-rtd-theme",
"sphinxcontrib-images",
"sphinx-copybutton",
"Jinja2>=3.0",
# higher versions trigger build bugs with the RTD theme
"docutils==0.16",
]
speculos = [
"speculos>=0.9.1",
"mnemonic",
]
ledgercomm = [
"ledgercomm>=1.2.1",
"ledgercomm[hid]>=1.2.1",
"pyqt5",
"pytesseract",
]
ledgerwallet = [
"ledgerwallet>=0.4.0",
"pyqt5",
"pytesseract",
]
all_backends = [
"ragger[speculos]",
"ragger[ledgercomm]",
"ragger[ledgerwallet]",
]
[tool.setuptools]
package-dir = {"" = "src"}
include-package-data = true
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["tests"]
namespaces = false
[tool.setuptools.package-data]
ragger = ["py.typed"]
[tool.setuptools_scm]
write_to = "src/ragger/__version__.py"
local_scheme = "no-local-version"
[tool.mypy]
ignore_missing_imports = true
[tool.yapf]
based_on_style = "pep8"
column_limit = 100
[tool.coverage.report]
show_missing = true
exclude_lines = [
"@abstractmethod",
"pragma: no cover"
]
[tool.flake8]
max-line-length = 120