-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
92 lines (80 loc) · 2.26 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
[tool.poetry]
name = "autoagora"
version = "0.0.0"
authors = [
"Alexis Asseman <alexis@semiotic.ai>",
"Tomasz Kornuta <tomasz@semiotic.ai>"
]
description = "Agora model automation for The Graph indexers."
license = "Apache-2.0"
classifiers = [
"Operating System :: OS Independent",
"License :: OSI Approved :: Apache Software License"
]
readme = "README.md"
repository = "https://github.com/semiotic-ai/autoagora"
packages = [
{ include = "autoagora" },
]
[tool.poetry-dynamic-versioning]
enable = true
[tool.poetry.scripts]
autoagora = "autoagora.main:main"
[tool.poetry.dependencies]
python = ">=3.8,<3.11"
ConfigArgParse = "^1.5.3"
graphql-core = "^3.2.0"
base58 = "^2.1.1"
aiohttp = "^3.8.1"
gql = {extras = ["aiohttp"], version = "^3.2.0"}
prometheus-async = {extras = ["aiohttp"], version = "^22.1.0"}
backoff = "^2.2.1"
python-json-logger = "^2.0.4"
autoagora-agents = {git = "https://github.com/semiotic-ai/autoagora-agents.git", rev = "v1.2.1"}
kubernetes = "^26.1.0"
jinja2 = "^3.1.2"
psycopg = "^3.1.12"
psycopg-pool = "^3.2.0"
[tool.poetry.group.dev.dependencies]
black = "^22.1.0"
isort = "^5.10.1"
pytest = "^7.1.2"
pyright = "^1.1.244"
pylint = "^2.14.5"
pytest-cov = "^4.0.0"
vcrpy = "^4.2.1"
pytest-postgresql = "^4.1.1"
psycopg = {extras = ["binary"], version = "^3.1.8"}
pytest-asyncio = "^0.20.3"
easydict = "^1.10"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.4.2"
mkdocs-material = "^9.0.8"
mkdocstrings-python = "^0.8.3"
mike = "^1.1.2"
[tool.semantic_release]
upload_to_repository = false
version_source = "tag_only"
build_command = false
upload_to_release = false
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
addopts = "--strict-markers --durations=5 -vv"
markers = [
"unit: marks tests as unit tests",
]
asyncio_mode = "auto"
[tool.pylint.typecheck]
# List of members which are set dynamically and missed by pylint inference system, and
# so shouldn't trigger E1101 when accessed. Python regular expressions are accepted.
generated-members = ["numpy.*" ,"torch.*"]
[tool.pyright]
reportUnusedImport = true
reportUnusedVariable = true
useLibraryCodeForTypes = true