-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (51 loc) · 1.17 KB
/
pyproject.toml
File metadata and controls
55 lines (51 loc) · 1.17 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
[project]
name = "fastapi-template"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"alembic[tz]>=1.18.1",
"fastapi>=0.128.0",
"psycopg[binary]>=3.3.2",
"pydantic>=2.12.5",
"pydantic-settings>=2.12.0",
"sqlalchemy>=2.0.46",
"uvicorn>=0.40.0",
]
[dependency-groups]
lint = [
"ruff>=0.14.14",
"ty>=0.0.13",
]
test = [
"pytest>=8.0.0",
"pytest-asyncio>=0.24.0",
"httpx>=0.28.0",
"aiosqlite>=0.21.0",
"pytest-cov>=6.0.0",
]
[tool.uv]
exclude-newer = "7 days"
[tool.alembic]
script_location = "%(here)s/alembic"
timezone = "UTC"
file_template = "%%(year)d_%%(month).2d_%%(day).2d_%%(hour).2d%%(minute).2d-%%(rev)s_%%(slug)s"
prepend_sys_path = ["."]
version_locations = [
"%(here)s/alembic/versions"
]
output_encoding = "utf-8"
[[tool.alembic.post_write_hooks]]
name = "ruff"
type = "exec"
executable = "ruff"
options = "check --fix REVISION_SCRIPT_FILENAME"
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
markers = [
"unit: fast, no external deps",
]
addopts = "-v --strict-markers"