-
Notifications
You must be signed in to change notification settings - Fork 104
/
Copy pathpyproject.toml
102 lines (91 loc) · 2.95 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
[project]
name = "xrpl-py"
version = "4.1.0"
description = "A complete Python library for interacting with the XRP ledger"
license = "ISC"
readme = "README.md"
authors = [
{ name = "Mayukha Vadari", email = "[email protected]" },
{ name = "Greg Weisbrod", email = "[email protected]" },
{ name = "Amie Corso", email = "[email protected]" },
{ name = "Ted Kalaw", email = "[email protected]" },
{ name = "Florent Uzio", email = "[email protected]" },
{ name = "Mayur Bhandary", email = "[email protected]" },
{ name = "Nathan Nichols", email = "[email protected]" },
{ name = "Caleb Kniffen", email = "[email protected]" },
{ name = "Omar Khan", email = "[email protected]" },
{ name = "Justin Reynolds", email = "[email protected]" },
]
maintainers = [
{ name = "Ashray Chowdhry", email = "[email protected]" },
{ name = "Chenna Keshava B S", email = "[email protected]" },
{ name = "Justin Reynolds", email = "[email protected]" },
{ name = "Mayukha Vadari", email = "[email protected]" },
{ name = "Omar Khan", email = "[email protected]" },
{ name = "Phu Pham", email = "[email protected]" },
]
keywords = ["xrp", "xrpl", "cryptocurrency"]
requires-python = ">=3.8.1"
dynamic = [ "dependencies" ]
[project.urls]
repository = "https://github.com/XRPLF/xrpl-py"
documentation = "https://xrpl-py.readthedocs.io"
"Bug Tracker" = "https://github.com/XRPLF/xrpl-py/issues"
[tool.poetry]
packages = [{ include = "xrpl" }, { include = "LICENSE" }]
[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.29.0"
websockets = ">=11"
Deprecated = "^1.2.13"
types-Deprecated = "^1.2.9"
pycryptodome = "^3.16.0"
[tool.poetry.group.dev.dependencies]
flake8 = "^7.1.2"
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"
pydoclint = [
{ version = "<=0.5.12", python = "<3.9" },
{ version = "^0.5.13", python = ">=3.9" }
]
sphinx-rtd-theme = "^3.0.2"
aiounittest = "^1.4.3"
coverage = "^7.2.7"
Sphinx = "^7.1.2"
poethepoet = "^0.30.0"
packaging = "^24.1"
[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"
lint = "poetry run flake8 xrpl tests snippets"
[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" },
]