-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
44 lines (39 loc) · 1.08 KB
/
pyproject.toml
File metadata and controls
44 lines (39 loc) · 1.08 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
[tool.poetry]
name = "odb-api"
version = "1.0.0"
description = "The central API for ODB services."
authors = ["vcokltfre <vcokltfre@gmail.com>"]
license = "MIT"
repository = "https://github.com/OpenDiscordBots/odb-api"
[tool.poetry.dependencies]
python = "^3.10"
taskipy = "^1.9.0"
fastapi = "^0.72.0"
ormar = "^0.10.24"
asyncpg = "^0.25.0"
cachingutils = "^1.0.5"
uvicorn = "^0.17.0"
psycopg2-binary = "^2.9.3"
alembic = "^1.7.5"
python-dotenv = "^0.19.2"
starlette-discord = "^0.2.0"
aioredis = "^2.0.1"
"discord.py" = "^1.7.3"
aiofiles = "^0.8.0"
Jinja2 = "^3.0.3"
[tool.poetry.dev-dependencies]
black = "^21.12b0"
isort = "^5.10.1"
pre-commit = "^2.17.0"
[tool.black]
line-length = 120
[tool.taskipy.tasks]
start = "uvicorn src.__main__:app --host 0.0.0.0 --port 8080"
watch = "uvicorn src.__main__:app --port 8080 --reload"
lint = "black . && isort --profile black ."
pre-commit = "pre-commit install"
sass = "sass --watch src/ui/scss/style.scss:src/ui/static/style.css"
upgrade = "alembic upgrade head"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"