-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpyproject.toml
86 lines (77 loc) · 2.18 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
[build-system]
requires = ["setuptools>=61.0", "wheel", "setuptools_scm[toml]>=5.0"]
build-backend = "setuptools.build_meta"
[project]
name = "ledgereth"
description = "Library to interface with ledger-app-eth on Ledger hardware wallets"
urls = {source = "https://github.com/mikeshultz/ledger-eth-lib"}
authors =[{name = "Mike Shultz", email = "[email protected]"}]
readme = "README.md"
requires-python = ">=3.9"
keywords = ["ethereum", "evm", "blockchain", "development", "ledger"]
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"eth-utils>=2.1.0,<6",
"ledgerblue==0.1.48",
"rlp~=4.0.1",
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"build~=1.2.2",
"eth-account>=0.13.1",
"pyright~=1.1.385",
"pytest>=5.3.2",
"ruff~=0.7.0",
"setuptools>=61.0.0",
"twine>=3.1.1",
"web3[tester]~=7.3.1",
# peer dep of eth-tester of web3[tester]
#eth-account==0.12.1
"wheel>=0.33.6",
]
docs = [
"sphinx~=8.1.3",
"sphinx-autobuild~=2024.10.3",
"sphinx-rtd-theme~=3.0.1",
]
[tool.pyright]
include = ["ledgereth", "tests"]
ignore = ["build/"]
[tool.ruff]
# Mimic's black's default line length
line-length = 88
[tool.ruff.lint]
# Ref: https://docs.astral.sh/ruff/rules
extend-select = [
"D", # pydocstyle
"E501", # Line length
"I", # isort
"N", # PEP8 naming
"UP", # pyupgrade
"RUF", # ruf-specific rules
"W", # warnings
]
ignore = [
"D105", # document dunder methods
"D107", # missing docstring for __init__
]
[tool.ruff.lint.per-file-ignores]
"tests/test_*.py" = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.setuptools_scm]
[tool.pytest.ini_options]
python_files = "test_*.py"
testpaths = "tests"