-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (54 loc) · 1.25 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
[tool.poetry]
name = "library-management-api"
version = "0.1.0"
description = ""
authors = ["valentino-sm <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
fastapi = "0.105.0"
uvicorn = "^0.24.0.post1"
sqlalchemy = "^2.0.23"
alembic = "^1.13.0"
psycopg2-binary = "^2.9.9"
asyncpg = "^0.29.0"
punq = "^0.7.0"
pydantic = "^2.5.2"
pydantic-settings = "^2.1.0"
sqlalchemy-utils = "^0.41.1"
uuid6 = "^2023.5.2"
fastapi-users = {extras = ["sqlalchemy"], version = "^12.1.2"}
aiocache = "^0.12.2"
httpx = "^0.25.2"
tenacity = "^8.2.3"
redis = {extras = ["hiredis"], version = "^5.0.1"}
pytz = "^2023.3.post1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pyright]
strict = ["."]
stubPath = "infrastructure/stubs"
[tool.black]
line-length = 88
preview = true
[tool.ruff]
line-length = 88
select = [
"F", # pyflakes
"E", # pycodestyle
"W", # pycodestyle
# "I", # isort
"N", # pep8-naming
# "D", # pydocstyle
"UP", # pyupgrade
"B", # flake8-bugbear
"A", # flake8-builtins
"C4", # flake8-comprehensions
"C90", # mccabe
]
ignore = [
"E402", # module level import not at top of file
]
[tool.ruff.pydocstyle]
convention = "google"