-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
56 lines (49 loc) · 1.07 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
[tool.poetry]
name = "fastapi-hf-inference"
version = "0.1.0"
description = ""
authors = ["valentino-sm <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
fastapi = "^0.109.1"
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"
torch = "^2.1.1"
transformers = "^4.36.0"
numpy = "^1.26.2"
[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"