-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
58 lines (51 loc) · 1.39 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
[tool.poetry]
name = "quill-server"
version = "0.1.0"
description = ""
authors = ["anand2312 <[email protected]>"]
readme = "README.md"
packages = [{include = "quill_server"}]
[tool.poetry.dependencies]
python = "^3.11"
fastapi = "^0.104.1"
uvicorn = {version = "^0.23.2", extras = ["fast"]}
passlib = {version = "^1.7.4", extras = ["argon2"]}
loguru = "^0.7.2"
pydantic-settings = "^2.0.3"
python-jose = {version = "^3.3.0", extras = ["cryptography"]}
sqlalchemy = {version = "^2.0.23", extras = ["asyncio"]}
alembic = "^1.12.1"
asyncpg = "^0.29.0"
python-multipart = "^0.0.6"
redis = {version = "^5.0.1", extras = ["hiredis"]}
websockets = "^12.0"
[tool.poetry.group.dev.dependencies]
ruff = "^0.1.3"
pre-commit = "^3.5.0"
pytest = "^7.4.3"
taskipy = "^1.12.0"
httpx = "^0.25.1"
[tool.ruff]
target-version = "py311"
line-length = 100
extend-exclude = ["alembic"]
extend-ignore = [
"ANN101",
]
[tool.ruff.lint]
extend-select = [
"N", # pep8-naming
"UP", # pyupgrade
"ANN", # annotations
"ASYNC",
"B", # bugbear
"A", # flake8-builtins
"RUF", # ruff specific
]
[tool.taskipy.tasks]
lint = { cmd = "ruff .", help = "Lints project." }
format = { cmd = "ruff format .", help = "Runs Ruff autoformatter." }
server = { cmd = "uvicorn --reload doodle_server.app:app", help = "Runs the backend server." }
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"