-
Notifications
You must be signed in to change notification settings - Fork 86
/
pyproject.toml
83 lines (74 loc) · 2.08 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
[tool.poetry]
name = "xrpl-py"
version = "3.0.0"
description = "A complete Python library for interacting with the XRP ledger"
readme = "README.md"
repository = "https://github.com/XRPLF/xrpl-py"
authors = [
"Mayukha Vadari <[email protected]>",
"Greg Weisbrod <[email protected]>",
"Amie Corso <[email protected]>",
"Ted Kalaw <[email protected]>",
"Florent Uzio <[email protected]>",
"Mayur Bhandary <[email protected]>",
"Nathan Nichols <[email protected]>",
"Caleb Kniffen <[email protected]>",
"Omar Khan <[email protected]>",
"Justin Reynolds <[email protected]>",
]
keywords = ["xrp", "xrpl", "cryptocurrency"]
license = "ISC"
documentation = "https://xrpl-py.readthedocs.io"
include = ["LICENSE"]
packages = [{ include = "xrpl" }]
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
base58 = "^2.1.0"
ECPy = "^1.2.5"
typing-extensions = "^4.2.0"
httpx = ">=0.18.1,<0.28.0"
websockets = ">=11,<14"
Deprecated = "^1.2.13"
types-Deprecated = "^1.2.9"
pycryptodome = "^3.16.0"
[tool.poetry.dev-dependencies]
flake8 = "^7.0.0"
black = "24.8.0"
flake8-black = "^0.3.6"
flake8-docstrings = "^1.7.0"
mypy = "^1"
isort = "^5.11.5"
flake8-isort = "^6.0.0"
flake8-annotations = "^3.1.1"
flake8-absolute-import = "^1.0"
darglint = "^1.5.8"
sphinx-rtd-theme = "^3.0.0"
aiounittest = "^1.4.0"
coverage = "^7.2.7"
Sphinx = "^7.1.2"
poethepoet = "^0.29.0"
[tool.isort]
# Make sure that isort's settings line up with black
profile = "black"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.run]
branch = true
source = ["xrpl"]
[tool.coverage.report]
show_missing = true
skip_covered = true
skip_empty = true
precision = 2
[tool.poe.tasks]
test_unit = "coverage run -m unittest discover tests/unit"
test_integration = "coverage run -m unittest discover tests/integration"
[tool.poe.tasks.test]
cmd = "python3 -m unittest ${FILE_PATHS}"
args = [{ name = "FILE_PATHS", positional = true, multiple = true }]
[tool.poe.tasks.test_coverage]
sequence = [
{ cmd = "coverage run -m unittest discover" },
{ cmd = "coverage report --fail-under=90" },
]