forked from Sunyata-OU/Web-Service-Python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
64 lines (52 loc) · 1.29 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
[tool.poetry]
name = "web-service-python"
version = "0.1.0"
description = "A template for a full service web service."
authors = ["Tony <[email protected]>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
fastapi = "^0.104.1"
pydantic = "^2.5.2"
sqlalchemy = "^2.0.23"
alembic = "^1.12.1"
psycopg2 = "^2.9.9"
gunicorn = "^21.2.0"
uvicorn = "^0.24.0.post1"
python-dotenv = "^1.0.0"
jinja2 = "^3.1.2"
boto3 = "^1.33.1"
python-multipart = "^0.0.6"
celery = "^5.3.6"
redis = "^5.0.1"
[tool.poetry.group.dev.dependencies]
ruff = "^0.1.6"
pre-commit = "^3.5.0"
pytest = "^7.4.3"
sqlalchemy-stubs = "^0.4"
httpx = "^0.25.2"
jupyterlab = "^4.0.11"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 120
indent-width = 4
# Assume Python 3.9
target-version = "py39"
[tool.ruff.format]
# Like Black, use double quotes for strings.
quote-style = "double"
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"
[tool.ruff.lint]
# Enable the isort rules.
extend-select = ["I"]
[tool.ruff.lint.isort]
case-sensitive = true
combine-as-imports = true