-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (55 loc) · 1.34 KB
/
pyproject.toml
File metadata and controls
60 lines (55 loc) · 1.34 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[project]
name = "lockerapi"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"alembic>=1.13.2",
"fastapi[standard]>=0.114.0",
"httpx>=0.27.2",
"loguru>=0.7.2",
"openai>=1.55.3",
"psycopg[binary]>=3.2.1",
"pycountry>=24.6.1",
"pydantic-extra-types>=2.9.0",
"pydantic-settings>=2.4.0",
"sentry-sdk[fastapi,openai,sqlalchemy]>=2.19.2",
"sqlalchemy>=2.0.34",
"unidecode>=1.3.8",
]
[tool.uv]
dev-dependencies = [
"ruff>=0.6.4",
]
[tool.ruff.lint]
preview = true
select = [
"FAST",
"ASYNC",
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
'Q',
'RUF100',
'C90', # is too complex ({complexity} > {max_complexity})
'UP', # upgrade syntax for newer versions of the language.
]
ignore = [
# "E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"W191", # indentation contains tabs
]
[tool.ruff]
line-length = 140
target-version = "py312"
exclude = ["migrations"]
[tool.ruff.format]
#quote-style = "single"
#indent-style = "tab"
[tool.ruff.lint.isort]
combine-as-imports = true
known-third-party = ["fastapi", "pydantic", "starlette", "sqlalchemy"]