forked from commune-ai/commune
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
106 lines (81 loc) · 1.72 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
[tool.poetry]
name = "commune"
version = "0.1.0"
description = "A library to connect all of the libraries"
authors = ["latentvector <you@example.com>"]
license = "CLOSED AI"
readme = "README.md"
[tool.poetry.scripts]
c = "commune.cli:main"
# configure autopep to not format type ignores !!!
[tool.autopep8]
ignore_local_config = true
aggressive = 2
in-place = true
recursive = true
max_line_length = 80
ignore = [
"E265", # block comment should start with '# '
"E501", # line too long
]
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
# GENERAL
retry = "*"
psutil = "*"
munch = "*"
loguru = "*"
rich = "*"
aiofiles = "*"
nest_asyncio = "*"
aiohttp = "*"
netaddr = "*"
# SERVER
fastapi = "*"
sse-starlette = "*"# server sent events for streaming back to client
# ML
torch = "*"
msgpack_numpy = "*"
substrate-interface = "*"
# REMOTE
paramiko = "*"
# PLOT
plotly = "*" # dope interactive plots
streamlit = "*" # dope for web apps
gradio = "*" # for web apps in gradio
# TEST
pytest = "*"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
# Type-checking
pyright = "^1.1.335"
# Testing
pytest = "^7.4.2"
# Linter
#ruff = "^0.1.15"
# Debugging
ipython = "^8.22.2"
# Formatting
autopep8 = "^2.1.0"
isort = "^5.13.2"
[tool.poetry.group.examples]
optional = true
[tool.poetry.group.examples.dependencies]
openai = "^1.13.3"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
pdoc = "^14.3.0"
[tool.pytest.ini_options]
addopts = ["--import-mode=importlib"]
testpaths = "./tests"
pythonpath = ["."]
[tool.pyright]
strict = ["src"]
# reportUnusedVariable = "warning"
[tool.ruff]
line-length = 120
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"