-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
55 lines (46 loc) · 1.17 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 = "fast-api-project-template"
version = "0.1.0"
description = ""
authors = ["ocamilomontealegre <[email protected]>"]
readme = "README.md"
packages = [{ include = "src" }]
[tool.poetry.dependencies]
python = "^3.12"
fastapi = "^0.115.0"
uvicorn = "^0.31.0"
pydantic = "^2.9.2"
pydantic-settings = "^2.5.2"
loguru = "^0.7.2"
injector = "^0.22.0"
[tool.poetry.group.dev.dependencies]
black = "^24.10.0"
flake8 = "^7.1.1"
pre-commit = "^4.0.1"
pytest = "^8.3.3"
pytest-cov = "^6.0.0"
httpx = "^0.27.2"
commitizen = "^3.30.1"
[tool.black]
line-length = 88
target-version = ["py310", "py311", "py312"]
check = true
[tool.pytest.ini_options]
testpaths = ["test"]
pythonpath = "src"
addopts = "--cov=app --cov-report=term-missing --cov-report=html --cov-report=xml"
[tool.coverage.run]
command_line = "-m pytest"
[tool.coverage.report]
include = ["python_coverage_demo/*.py"]
show_missing = true
[tool.poetry.scripts]
start = "scripts:start"
lint = "scripts:lint"
format = "scripts:format"
e2e_test = "scripts:test_e2e"
unit_test = "scripts:test_unit"
test = "scripts:test_all"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"