forked from dipdup-io/dipdup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
116 lines (102 loc) · 2.71 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[tool.poetry]
name = "dipdup"
description = "Modular framework for creating selective indexers and featureful backends for dapps"
version = "6.5.2"
license = "MIT"
authors = [
"Lev Gorodetskiy <[email protected]>",
"Michael Zaikin <[email protected]>"
]
readme = "README.md"
repository = "https://github.com/dipdup-io/dipdup"
homepage = "https://dipdup.io/"
keywords = ["tezos", "blockchain", "sdk", "michelson", "indexers", "tzkt", "cryptocurrencies", "smart-contracts"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Typing :: Typed",
]
packages = [
{ include = "dipdup", from = "src" },
]
[tool.poetry.dependencies]
python = ">=3.10,<3.11"
asyncpg = "0.27.0"
datamodel-code-generator = "0.17.1"
pydantic = "1.10.6"
pysignalr = "0.1.2"
tortoise-orm = "0.19.3"
aiohttp = "^3.8.1"
aiolimiter = "^1.0.0"
anyio = "^3.3.2"
APScheduler = "^3.8.0"
asyncclick = "^8.0.1"
orjson = "^3.6.6"
prometheus-client = "^0.14.1"
pyhumps = "^3.0.2"
python-dotenv = "^0.19.0"
"ruamel.yaml" = "^0.17.2"
sentry-sdk = "^1.4.3"
sqlparse = "^0.4.2"
tabulate = "^0.9.0"
pytezos = {version = "3.8.0", optional = true}
[tool.poetry.group.dev.dependencies]
black = "*"
diff-cover = "*"
docker = "*"
ruff = "*"
isort = "*"
mypy = "*"
pytest = "*"
pytest-aiohttp = "*"
pytest-asyncio = "*"
pytest-cov = "*"
pytest-xdist = "*"
Sphinx = "*"
sphinx-click = "*"
sphinx-markdown-builder = "*"
types-pytz = "*"
types-tabulate = "*"
[tool.poetry.extras]
pytezos = ["pytezos"]
[tool.poetry.scripts]
dipdup = "dipdup.cli:cli"
dipdup-install = "dipdup.install:cli"
[tool.isort]
line_length = 120
force_single_line = true
[tool.black]
line-length = 120
target-version = ["py310"]
skip-string-normalization = true
[tool.ruff]
line-length = 120
ignore = ["E501", "B905"]
target-version = "py310"
extend-select = ["B", "C4", "Q"] # todo: G, PTH, RET, RUF, S, TCH
flake8-quotes = {inline-quotes = "single", multiline-quotes = "double"}
[tool.mypy]
python_version = "3.10"
plugins = ["pydantic.mypy"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise FrameworkError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"