-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
122 lines (102 loc) · 2.82 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
[tool.poetry]
name = "kafka-overwatch"
version = "0.5.0"
description = "Continuously monitors Kafka cluster topics & consumer groups"
authors = ["John \"Preston\" Mille <john@ews-network.net>"]
maintainers = ["John \"Preston\" Mille <john@ews-network.net>"]
readme = "README.rst"
license = "MPL-2.0"
keywords = ["kafka", "monitoring", "reporting", "usage-analysis", "cost-savings"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
include = ["LICENSE", "kafka_overwatch/**/*.json"]
exclude = ["*.pyc", "*~", "*pycache*"]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/JohnPreston/kafka-overwatch/issues"
[tool.poetry.dependencies]
python = "^3.10"
confluent-kafka = "^2.3.0"
compose-x-common = "^1.4"
boto3 = ">=1.26,<2.0"
dacite = "^1.8.1"
pyyaml = "^6.0.1"
aws-cfn-custom-resource-resolve-parser = "^0.3"
retry2 = "^0.9.5"
jsonschema = "^4.20.0"
aws-embedded-metrics = "^3.2.0"
importlib-resources = "^6.1.1"
prometheus-client = "^0.20"
jinja2 = "^3.1.2"
aws-msk-iam-sasl-signer-python = "^1.0.0"
pandas = "^2.1.4"
codeguru-profiler-agent = "^1.2.4"
kafka-schema-registry-admin = ">=0.5"
cryptography = "^42.0.5"
[tool.poetry.group.dev.dependencies]
black = ">=23.12,<25.0"
isort = "^5.13"
pyupgrade = "^3.15"
pre-commit = "^3.6"
datamodel-code-generator = "^0.25.1"
pytest = "^7.4"
testcontainers = "^3.7.1"
tbump = "^6.11.0"
[tool.poetry.group.docs.dependencies]
sphinx = "^7.2.6"
sphinx-jsonschema = "^1.19.1"
sphinx-material = "^0.0.36"
sphinx-autodoc-typehints = "^1.25.2"
[tool.poetry.scripts]
kafka-overwatch = "kafka_overwatch.cli:main"
schema-registry-restore = "kafka_overwatch.cli.schema_registry_restore:main"
[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.report]
exclude_lines = [
"if __name__ == '__main__'"
]
[tool.coverage.run]
omit = [
"*/cli.py"
]
[tool.tbump]
github_url = "https://github.com/johnpreston/kafka-overwatch"
[tool.tbump.version]
current = "0.5.0"
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}"
[[tool.tbump.file]]
src = "pyproject.toml"
[[tool.tbump.file]]
src = "kafka_overwatch/__init__.py"
[[tool.tbump.before_commit]]
name = "Files format"
cmd = "make conform"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"