-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
63 lines (55 loc) · 1.28 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
[build-system]
requires = [ "setuptools>=64", "setuptools_scm>=8" ]
build-backend = "setuptools.build_meta"
[project]
name = "apepay"
dynamic = [ "version" ]
description = "Python SDK for ApePay"
authors = [
{name = "ApeWorX LTD", email = "admin@apeworx.io"},
]
license = { text = "Apache 2.0" }
readme = "README.md"
requires-python = ">=3.10,<4"
dependencies = [
"eth-ape>=0.8,<1",
"pydantic>=2.7,<3",
# NOTE: Pinning issue w/ Ape
"eth-typing<5",
]
[project.optional-dependencies]
bot = [
"silverback>=0.5,<1",
]
lint = [
"flake8",
"black",
"isort",
"mypy",
# NOTE: Be able to lint our silverback add-ons
"apepay[bot]"
]
test = [
"ape-foundry",
]
dev = [
"apepay[bot,lint,test]"
]
[tool.setuptools.packages.find]
where = [ "sdk/py" ]
[tool.setuptools.package-data]
apepay = [ "manifest.json", "py.typed" ]
[tool.setuptools_scm]
# NOTE: Config entry needed for this plugin to function
[tool.black]
line-length = 100
target-version = [ "py311" ]
include = '\.pyi?$'
exclude = 'node_modules|migrations|build/|buck-out/|dist/|_build/|\.git/|\.hg/|\.mypy_cache/|\.tox/|\.venv/'
[tool.isort]
line_length = 100
force_grid_wrap = 0
include_trailing_comma = true
multi_line_output = 3
use_parentheses = true
src_paths = ["scripts", "tests", "sdk/py/apepay"]