-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
57 lines (53 loc) · 1.36 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
[project]
name = "eventtrakka-backend"
version = "0.0.2"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"alembic>=1.13.3",
"bcrypt>=4.2.0",
"fastapi[standard]>=0.115.0",
"passlib[bcrypt]>=1.7.4",
"psycopg[binary]>=3.2.3",
"pydantic>=2.9.2",
"pydantic-settings>=2.5.2",
"pyjwt>=2.9.0",
"python-multipart>=0.0.12",
"sqlmodel>=0.0.22",
"fastapi-mail>=1.4.1",
"fastapi-pagination>=0.12.31",
]
[tool.uv]
dev-dependencies = [
"mypy>=1.11.2",
"pytest>=8.3.3",
"ruff>=0.6.9",
"types-passlib>=1.7.7.20240819",
]
[tool.mypy]
strict = true
exclude = ["venv", ".venv", "alembic"]
[tool.ruff]
target-version = "py312"
exclude = ["alembic"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG001", # unused arguments in functions
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"W191", # indentation contains tabs
"B904", # Allow raising exceptions without from e, for HTTPException
]
[tool.ruff.lint.pyupgrade]
# Preserve types, even if a file imports `from __future__ import annotations`.
keep-runtime-typing = true