This repository has been archived by the owner on Mar 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
84 lines (76 loc) · 1.93 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
[tool.poetry]
authors = ["chain-dev-team <[email protected]>"]
classifiers = [
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
]
description = "Tools for Crypto.org Chain wallet management and offline transaction signing"
exclude = ["generate_protos.sh"]
keywords = ["CRO", "blockchain", "signature", "crypto.org"]
license = "Apache-2.0"
name = "chainlibpy"
readme = "README.md"
repository = "https://github.com/crypto-org-chain/chainlibpy"
version = "3.0.0"
build = "build.py"
include = ["defi-wallet-core-rs"]
[tool.poetry.dependencies]
python = ">=3.8, <4.0"
[tool.poetry.dev-dependencies]
black = "^22.3.0"
docformatter = "^1.4"
flake8 = "^4.0.1"
hypothesis = "^6.35.1"
isort = "^5.10.1"
mdformat = "^0.7.10"
mdformat-black = "^0.1.1"
mdformat-toc = "^0.3.0"
mypy = "^0.931"
setuptools-rust = "1.4.*"
pre-commit = "^2.17.0"
pystarport = "^0.2.3"
pytest = "^6.2.5"
pytest-env = "^0.6.2"
requests = "^2.27.1"
toml = "^0.10.2"
tox = "^3.24.4"
types-PyYAML = "^6.0.4"
types-requests = "^2.27.8"
types-toml = "^0.10.3"
# [tool.poetry.build]
# generate-setup-file = false
# script = "build.py"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0", "setuptools>=62.4.0", "wheel", "setuptools-rust>=1.4.1"]
[tool.black]
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| \.hypothesis
| _build
| buck-out
| build
| dist
)/
| ^chainlibpy/generated/
)
'''
include = '\.pyi?$'
line-length = 99
target-version = ['py39']
[tool.isort]
extend_skip_glob = ["*/generated/*"]
profile = "black"
[tool.pytest.ini_options]
env = [
# To avoid "Error: Cannot open an HTTP server: socket.error reported AF_UNIX path too long"
# PYTEST_DEBUG_TEMPROOT is used by pytest default tmp_path_factory fixture
"PYTEST_DEBUG_TEMPROOT = /tmp",
]