forked from RedHatQE/openshift-python-wrapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
83 lines (70 loc) · 2.2 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
[tool.ruff]
preview = true
line-length = 120
fix = true
output-format = "grouped"
[tool.ruff.format]
exclude = [".git", ".venv", ".mypy_cache", ".tox", "__pycache__"]
[tool.mypy]
# TODO: enable all once we have typing in all the resources.
# check_untyped_defs = true
# disallow_any_generics = true
# disallow_incomplete_defs = true
# disallow_untyped_defs = true
no_implicit_optional = true
show_error_codes = true
warn_unused_ignores = true
[tool.poetry]
name = "openshift-python-wrapper"
version = "0.0.0"
description = "Wrapper around https://github.com/kubernetes-client/python"
authors = ["Meni Yakove <myakove@gmail.com>", "Ruth Netser <rnetser@gmail.com>"]
readme = "README.md"
license = "Apache-2.0"
packages = [{ include = "ocp_resources" }, { include = "class_generator" }]
homepage = "https://github.com/RedHatQE/openshift-python-wrapper"
documentation = "https://openshift-python-wrapper.readthedocs.io/en/latest/"
keywords = ["Openshift", "Kubevirt", "Openshift Virtualization"]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
[tool.poetry.scripts]
class-generator = "class_generator.class_generator:main"
[tool.poetry.urls]
Download = "https://pypi.org/project/openshift-python-wrapper/"
"Bug Tracker" = "https://github.com/RedHatQE/openshift-python-wrapper/issues"
[tool.poetry.group.dev.dependencies]
ipdb = "^0.13.13"
[tool.poetry.group.tests.dependencies]
pytest = "^8.0.0"
requests = "^2.31.0"
deepdiff = "^7.0.1"
[tool.poetry-dynamic-versioning.substitution]
files = ["VERSION"]
[tool.poetry-dynamic-versioning]
enable = true
pattern = "((?P<epoch>\\d+)!)?(?P<base>\\d+(\\.\\d+)*)"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry.dependencies]
python = "^3.8"
xmltodict = "^0.13.0"
colorlog = "^6.7.0"
kubernetes = "^30.0.0"
python-benedict = "^0.33.0"
packaging = "^23.1"
python-simple-logger = ">=1.0.6"
jinja2 = "^3.1.2"
timeout-sampler = ">=0.0.17"
click = "^8.1.7"
pyhelper-utils = "^0.0.31"
ruff = "^0.5.3"
rich = "^13.7.1"
cloup = "^3.0.5"
[tool.pytest.ini_options]
markers = [
"incremental: Mark tests as incremental",
"kubevirt: Mark tests as kubevirt tests",
]