-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
108 lines (90 loc) · 2.34 KB
/
pyproject.toml
File metadata and controls
108 lines (90 loc) · 2.34 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[build-system]
requires = ["poetry-core>=1.9.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "viz-python-lib"
version = "1.1.0"
description = "Python library for VIZ blockchain"
authors = ["Vladimir Kamarzin <vvk@vvk.pp.ru>", "Vladimir Babin <vovababin@gmail.com>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/VIZ-Blockchain/viz-python-lib"
packages = [
{ include = "viz" },
{ include = "vizapi" },
{ include = "vizbase" },
]
keywords = ['viz', 'python', 'library', 'blockchain']
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
[tool.poetry.dependencies]
python = "^3.8"
graphenelib = "^1.6.0"
toolz = "^0.12.0"
funcy = "^2.0"
aiohttp = ">=3.8,<4"
docker = "^7.1.0"
[tool.poetry.group.dev.dependencies]
pre-commit = { version = "^3.6", python = ">=3.9" }
ruff = "^0.1"
mypy = "^1.8"
pytest = "^8.0"
pytest-cov = "^5.0"
sphinx = "^2.2"
sphinx-autoapi = "^1.4.0"
# used in docs to include markdown files
m2r = "^0.3.1"
# used in docs to parse pyproject.toml
tomlkit = "^0.11.8"
[tool.pytest.ini_options]
norecursedirs = ["*.egg", ".eggs", "dist", "build", "docs", ".tox", ".git", "__pycache__"]
addopts = [
"--strict-markers",
"--doctest-modules",
"--cov=viz",
"--cov=vizbase",
"--cov=vizapi",
"--cov-report=term:skip-covered",
"--cov-report=xml",
"--cov-branch",
]
[tool.mypy]
ignore_missing_imports = false
[tool.ruff]
line-length = 120
target-version = "py38"
[tool.ruff.lint]
select = [
"E", "F", "W", # pycodestyle, pyflakes
"I", # isort
"B", # bugbear
"C4", # comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line-length handled by formatter
]
[tool.ruff.lint.isort]
known-third-party = [
"Crypto",
"docker",
"grapheneapi",
"graphenebase",
"graphenecommon",
"graphenestorage",
"pytest",
"tomlkit",
"toolz",
]