-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (63 loc) · 1.37 KB
/
pyproject.toml
File metadata and controls
71 lines (63 loc) · 1.37 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
60
61
62
63
64
65
66
67
68
69
70
71
[project]
name = "policy-deployment-engine"
version = "0.1.0"
requires-python = ">=3.11"
dependencies = [
"pydantic>=2.12.4",
]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["."]
include = ["scripts*"]
exclude = ["tests*", "inputs*", "policies*", "docs*"]
[project.scripts]
lint = "scripts.linters.linter:main"
aws_doc_gen = "scripts.docgen.aws_doc_gen:main"
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=4.1.0",
"jsonschema>=4.0.0",
]
docgen = [
"pyyaml>=6.0.0",
"pydantic>=2.0.0",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"-v",
"--strict-markers",
"--tb=short",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests (deselect with '-m \"not integration\"')",
]
[tool.coverage.run]
source = ["scripts"]
omit = [
"tests/*",
"*/test_*.py",
"*/__pycache__/*",
".venv/*",
"venv/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[dependency-groups]
dev = [
"jsonschema>=4.25.1",
]