-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
126 lines (109 loc) · 3 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[tool.poetry]
name = "ecs_files_composer"
version = "2.1.7-rc0"
description = "Files and configuration handler to inject configuration files into volumes for ECS containers"
authors = ["John Preston <[email protected]>"]
license = "MPL-2.0"
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Intended Audience :: System Administrators",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)"
]
readme = "README.rst"
keywords=["aws", "ecs", "k8s", "secrets"]
[tool.poetry.dependencies]
python = "^3.8"
boto3 = ">=1.28,<2.0"
pyOpenSSL = "^24.2"
requests = "^2.31"
PyYAML = "^6.0"
Jinja2 = "^3.1.2"
jsonschema = "^4.17"
compose-x-common = "^1.3"
flatdict = "^4.0.1"
aws-cfn-custom-resource-resolve-parser = "^0.3.0"
dacite = "^1.8.1"
[tool.poetry.group.dev.dependencies]
placebo = "^0.10"
datamodel-code-generator = {extras = ["http"], version = "^0.21"}
black = ">=23.1,<25.0"
isort = "^5.10.1"
coverage = "^7.1"
behave = "^1.2.6"
pytest = "^7"
watchdog = "^3.0"
pre-commit = "^3.3"
tbump = "^6.9.0"
[tool.poetry.scripts]
files_composer = "ecs_files_composer.cli:main"
ecs_files_composer = "ecs_files_composer.cli:main"
[tool.poetry.group.docs.dependencies]
sphinx = "^5.3.0"
sphinx-material = "^0.0.35"
sphinx-jsonschema = "^1.19.1"
[tool.datamodel-codegen]
input = "ecs-files-input.json"
input-file-type = "jsonschema"
output = "ecs_files_composer/input.py"
field-constraints = true
snake-case-field = false
strip-default-none = false
use-default = true
target-python-version = "3.10"
use-schema-description = true
disable-timestamp = true
use-subclass-enum = true
output-model-type = "dataclasses.dataclass"
[tool.black]
line-length = 88
[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
known_first_party = "kelvin"
[tool.coverage.run]
source = ["ecs_files_composer"]
branch = true
[tool.coverage.report]
ignore_errors = true
exclude_lines = [
"if self.debug:",
"pragma: no cover",
"raise NotImplementedError",
"if __name__ == .__main__.:"
]
omit = ["ecs_files_composer/cli.py"]
[tool.tbump]
github_url = "https://github.com/compose-x/ecs-files-composer"
[tool.tbump.version]
current = "2.1.7-rc0"
regex = '''
(?P<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\d+)
(?:(?P<rc>[\S]+))?
'''
[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "v{new_version}"
# For each file to patch, add a [[tool.tbump.file]] config
# section containing the path of the file, relative to the
# tbump.toml location.
[[tool.tbump.file]]
src = "pyproject.toml"
[[tool.tbump.file]]
src = "ecs_files_composer/__init__.py"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"