forked from coinbase/cdp-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (77 loc) · 1.93 KB
/
pyproject.toml
File metadata and controls
89 lines (77 loc) · 1.93 KB
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
[project]
name = "cdp-sdk"
version = "1.35.0"
description = "CDP SDK"
license = {text = "MIT"}
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"cryptography>=42.0.0",
"pydantic>=2.10.3",
"PyJWT>=2.10.1",
"python-dateutil==2.9.0",
"urllib3>=2.2.3,<=2.3.0",
"aiohttp==3.11.16",
"aiohttp-retry==2.9.1",
"web3>=7.6.0,<=7.10.0",
"solana>=0.36.6",
"solders>=0.26.0",
"nest-asyncio>=1.6.0,<2",
"base58>=2.1.1",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.26.0",
"pytest-cov>=4.1.0",
"python-dotenv>=1.0.0",
"sphinx>=8.1.3",
"myst-parser>=4.0.1",
"sphinx-autodoc-typehints>=3.0.1",
"sphinxcontrib-napoleon>=0.7",
"sphinx-autobuild>=2024.10.3",
"pyyaml>=6.0",
"ruff>=0.7.1,<0.8",
"towncrier>=24.8.0,<25"
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
line-length = 100
target-version = "py310"
extend-exclude = [
"cdp/openapi_client"
]
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "D", "UP", "B", "C4", "SIM", "RUF"]
ignore = ["D213", "D203", "D100", "D104", "D107", "E501"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint.isort]
known-first-party = ["cdp"]
combine-as-imports = true
[tool.hatch.build.targets.sdist]
include = ["cdp"]
exclude = ["cdp/examples"]
[tool.hatch.build.targets.wheel]
include = ["cdp"]
exclude = ["cdp/examples"]
[tool.pytest.ini_options]
testpaths = ["."]
python_files = ["test_*.py"]
addopts = "--cov=cdp --cov-report=html"
markers = [
"e2e: e2e tests, requiring env, deselect with '-m \"not e2e\"'",
]
[tool.towncrier]
package = "cdp"
filename = "CHANGELOG.md"
directory = "changelog.d/"
title_format = "## [{version}] - {project_date}"
issue_format = "[#{issue}](https://github.com/coinbase/cdp-sdk/pull/{issue})"
[project.scripts]
test = "pytest:main"