forked from DevOps-and-Cloud-based-Software/2.fastapi-gitops
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (52 loc) · 1.14 KB
/
pyproject.toml
File metadata and controls
59 lines (52 loc) · 1.14 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
56
57
58
59
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "fastapi-gitops-starter"
version = "1.0.0"
description = "A starter template for learning GitOps with FastAPI"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"fastapi==0.115.5",
"uvicorn[standard]==0.32.1",
]
[project.optional-dependencies]
dev = [
"pytest==8.3.4",
"pytest-cov==6.0.0",
"httpx==0.28.1",
"ruff==0.8.4",
"black==24.10.0",
]
[tool.black]
line-length = 88
target-version = ['py311']
include = '\.pyi?$'
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = []
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"--strict-markers",
"--cov=app",
"--cov-report=term-missing",
"--cov-report=html",
]