-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
57 lines (44 loc) · 1.08 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
[tool.poetry]
name = "discord-ai-bot"
version = "0.1.0"
description = ""
authors = ["Cody Yu <[email protected]>"]
readme = "README.md"
packages = [{include = "discord_ai_bot", from = "src"}]
[tool.poetry.dependencies]
python = "^3.9, <3.10"
discord-py = "^2.3.2"
pydantic = "^2.4.2"
python-dotenv = "^1.0.0"
psycopg2-binary = "^2.9.9"
confluent-kafka = "^2.2.0"
transformers = "^4.34.0"
torch = [
{version = "<2.0.0+cpu", platform = "win32"},
{version = "*", source = "pytorch-cpu-src", platform = "linux"}
]
[tool.poetry.group.lint.dependencies]
black = "^23.9.1"
flake8 = "^6.1.0"
mypy = "^1.5.1"
isort = "^5.12.0"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
jupyter = "^1.0.0"
[[tool.poetry.source]]
name = "pytorch-cpu-src"
url = "https://download.pytorch.org/whl/cpu"
priority = "explicit"
[tool.black]
line-length = 88
[tool.isort]
profile = "black"
[tool.mypy]
# 3rd party import
ignore_missing_imports = true
disallow_untyped_defs = "True"
pretty = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"