-
Notifications
You must be signed in to change notification settings - Fork 94
/
Copy pathpyproject.toml
89 lines (80 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
84
85
86
87
88
89
[tool.poetry]
name = "xrpl-py"
version = "2.5.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]>"
]
keywords = [
"xrp",
"xrpl",
"cryptocurrency",
]
license = "ISC"
documentation = "https://xrpl-py.readthedocs.io"
include = [
"LICENSE",
]
packages = [
{ include = "xrpl" },
]
[tool.poetry.dependencies]
python = "^3.7"
base58 = "^2.1.0"
ECPy = "^1.2.5"
typing-extensions = "^4.2.0"
httpx = ">=0.18.1,<0.25.0"
websockets = "^11.0"
Deprecated = "^1.2.13"
types-Deprecated = "^1.2.9"
pycryptodome = "^3.16.0"
[tool.poetry.dev-dependencies]
flake8 = "^3.8.4"
black = "23.3.0"
flake8-black = "^0.3.6"
flake8-docstrings = "^1.7.0"
mypy = "^1"
isort = "^5.11.5"
flake8-isort = "^6.0.0"
flake8-annotations = "2.7.0"
flake8-absolute-import = "^1.0"
darglint = "^1.5.8"
sphinx-rtd-theme = "^2.0.0"
aiounittest = "^1.4.0"
coverage = "^7.2.7"
Jinja2 = "^3.1.2"
MarkupSafe = "2.1.3"
Sphinx = "^5.3.0"
poethepoet = "^0.19.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" }]