-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
54 lines (43 loc) · 1.07 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
[tool.poetry]
name = "fastapi-endpoints"
version = "0.1.0"
description = "A file based router for FastAPI that helps with defining endpoints"
authors = ["Vlad Nedelcu <nedelcuvd@gmail.com>"]
license = "MIT"
readme = "README.md"
packages = [
{ include="fastapi_endpoints", from="src" },
]
[tool.poetry.dependencies]
python = "^3.8"
fastapi = "^0.112.2"
[tool.poetry.group.dev.dependencies]
ruff = "^0.6.2"
isort = "^5.13.2"
pytest = "^8.3.2"
pytest-cov = "^5.0.0"
mkdocs = "^1.6.0"
mkdocs-material = "^9.5.33"
[tool.pytest.ini_options]
addopts = "-r a --durations 5 -vv --cov=src/fastapi_endpoints --cov-report term-missing --no-cov-on-fail --cov-fail-under 95"
console_output_style = "count"
log_cli = "1"
log_level = "DEBUG"
log_format = "%(levelname)-8s | %(name)s:%(lineno)d | %(message)s"
testpaths = [
"tests"
]
[tool.ruff]
exclude = [
".git",
".pytest_cache",
".ruff_cache"
]
line-length = 120
indent-width = 4
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"