generated from marcieltorres/python-boilerplate-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
51 lines (41 loc) · 1017 Bytes
/
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
[tool.poetry]
name = "fast-api-boilerplate-project"
version = "0.1.0"
description = "it's a simple and useful boilerplate for python projects using fast api framework"
authors = ["Authors Name <authorsmail@>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.11"
fastapi = "0.115.6"
uvicorn = "0.34.0"
[tool.poetry.dev-dependencies]
pytest = "8.3.4"
pytest-cov = "^6.0.0"
ruff = "^0.8.1"
httpx = "0.28.1"
[tool.pytest.ini_options]
testpaths = ["tests",]
pythonpath = ["src",]
[tool.coverage.run]
branch = true
omit = ["*/tests/*", "run.py"]
[tool.coverage.report]
show_missing = true
fail_under = 100
[tool.coverage.html]
directory = "htmlcov"
[tool.ruff]
line-length = 120
target-version = "py311"
exclude = ["run.py"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "S"]
ignore = []
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"