-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (47 loc) · 1.21 KB
/
pyproject.toml
File metadata and controls
53 lines (47 loc) · 1.21 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
[project]
name = "fastapi-microservice-template"
version = "0.1.0"
description = "The Ultimate Super-Convenient Template for Microservices Based on FastAPI"
authors = [{ name = "binarycat", email = "artur.rakhmatulin@gmail.com" }]
requires-python = "~=3.11"
readme = "README.md"
dependencies = [
"fastapi>=0.115.6,<0.116",
"alembic>=1.14.0,<2",
"pytest>=8.3.4,<9",
"pytest-mock>=3.14.0,<4",
"pytest-cover>=3.0.0,<4",
"black>=24.10.0,<25",
"mypy>=1.14.1,<2",
"isort>=5.13.2,<6",
"pydantic-settings>=2.7.1,<3",
"pydantic>=2.10.5,<3",
"psycopg2-binary>=2.9.10,<3",
"asyncpg>=0.30.0,<0.31",
"gevent>=24.11.1,<25",
"uvicorn>=0.34.0,<0.35",
"jinja2>=3.1.5,<4",
"pytest-asyncio>=0.26.0,<0.27",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src"]
[tool.pytest.ini_options]
addopts = "-v"
pythonpath = "src"
testpaths = [
"tests",
]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"
[tool.mypy]
mypy_path = "src"
namespace_packages = true
explicit_package_bases = true
exclude = ["tests", "src/db/alembic"]
[tool.black]
exclude = "src/db/alembic"
[tool.isort]
multi_line_output = 3