-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
64 lines (51 loc) · 1.56 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
[tool.coverage.run]
omit = ["ocp_addons_operators_cli/tests/*", "ocp_addons_operators_cli/cli.py"]
[tool.coverage.report]
fail_under = 20 # TODO: Need to be at least 60
skip_empty = true
[tool.coverage.html]
directory = ".tests_coverage"
[tool.ruff]
preview = true
line-length = 120
fix = true
output-format = "grouped"
[tool.ruff.format]
exclude = [".git", ".venv", ".mypy_cache", ".tox", "__pycache__"]
[tool.poetry]
name = "ocp-addons-operators-cli"
version = "0.0.0"
description = "CLI to install/uninstall Addons/operators on Openshift clusters."
authors = [
"Meni Yakove <[email protected]>",
"Ruth Netser <[email protected]>",
]
packages = [{ include = "ocp_addons_operators_cli" }]
include = [{ path = "manifests/*" }]
readme = "README.md"
repository = "https://github.com/RedHatQE/ocp-addons-operators-cli"
[tool.poetry.scripts]
cli = "app.cli:main"
[tool.poetry.dependencies]
python = "^3.9"
openshift-cluster-management-python-wrapper = "^1.0.21"
colorlog = "^6.7.0"
openshift-python-wrapper = "^10.0.0"
openshift-python-utilities = "^5.0.62"
click = "^8.1.4"
pyaml-env = "^1.2.1"
python-simple-logger = "^1.0.7"
[tool.poetry.group.dev.dependencies]
ipython = "*"
ipdb = "*"
[tool.poetry.group.tests.dependencies]
pytest-mock = "^3.14.0"
pytest-cov = "^5.0.0"
[tool.poetry-dynamic-versioning]
enable = true
pattern = "((?P<epoch>\\d+)!)?(?P<base>\\d+(\\.\\d+)*)"
[tool.poetry-dynamic-versioning.substitution]
files = ["VERSION"]
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"