-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (47 loc) · 1.13 KB
/
pyproject.toml
File metadata and controls
53 lines (47 loc) · 1.13 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 = "aws-certbot-lambda"
version = "0.1.1"
description = "Serverless TLS certificate renewal using Let's Encrypt ACME protocol"
requires-python = ">=3.11"
[project.optional-dependencies]
test = [
"pytest>=9.0",
"pytest-cov>=7.0",
"pytest-mock>=3.15",
"moto[secretsmanager,route53]>=5.1",
"aws-lambda-powertools>=3.24",
]
[tool.uv.workspace]
members = ["lambdas/*"]
[tool.uv.sources]
certbot-lambda = { workspace = true }
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["lambdas/certbot"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"-v",
"--strict-markers",
"--cov=lambdas/certbot",
"--cov-report=term-missing",
"--cov-report=html",
"--cov-branch",
]
markers = [
"unit: Unit tests",
"integration: Integration tests",
]
[tool.coverage.run]
source = ["lambdas/certbot"]
omit = ["tests/*", "*/site-packages/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]