-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
41 lines (33 loc) · 1.05 KB
/
pyproject.toml
File metadata and controls
41 lines (33 loc) · 1.05 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
[tool.poetry]
name = "lnkshrt"
version = "0.1.0"
description = "URL shortener API built with FastAPI."
authors = ["vivekashok1221 <vivekashok1221@gmail.com>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "3.11.*"
fastapi = {extras = ["all"], version = "^0.100.0"}
sqlalchemy = {extras = ["asyncio"], version = "^2.0.17"}
asyncpg = "^0.28.0"
loguru = "^0.7.0"
alembic = "^1.11.1"
passlib = {extras = ["argon2"], version = "^1.7.4"}
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.3.3"
taskipy = "^1.11.0"
black = "^23.3.0"
pyright = "^1.1.316"
[tool.isort]
profile = "black"
line_length = 100
[tool.black]
line-length = 100
[tool.taskipy.tasks]
precommit = { cmd = "pre-commit install", help="Installs pre-commit hooks."}
lint = { cmd = "pre-commit run --all-files", help = "Lints project." }
format = { cmd = "black .", help = "Runs Black autoformatter." }
start = { cmd = "uvicorn --reload src.backend.app:app", help = "Runs the backend server." }
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"