1
1
[tool .pytest .ini_options ]
2
2
markers = [
3
3
" incremental: Mark tests as incremental" ,
4
- " kubevirt: Mark tests as kubevirt tests"
4
+ " kubevirt: Mark tests as kubevirt tests" ,
5
5
]
6
6
addopts = [
7
7
" --pdbcls=IPython.terminal.debugger:TerminalPdb" ,
8
8
" --cov-config=pyproject.toml" ,
9
9
" --cov-report=html" ,
10
10
" --cov-report=term" ,
11
- " --cov=ocp_resources"
11
+ " --cov=ocp_resources.resource" ,
12
+ " --cov=ocp_resources.utils.resource_constants" ,
13
+ " --cov=ocp_resources.utils.constants" ,
14
+ " --cov=ocp_resources.utils.utils" ,
15
+ " --cov=ocp_resources.exceptions" ,
16
+ " --cov=class_generator" ,
12
17
]
13
18
14
19
[tool .coverage .run ]
15
- omit = [ " tests/*" ]
20
+ omit = [" tests/* " , " class_generator/ tests/*" , " class_generator/scripts/tests/* " ]
16
21
17
22
[tool .coverage .report ]
23
+ fail_under = 45
18
24
skip_empty = true
19
25
20
26
[tool .coverage .html ]
@@ -26,19 +32,19 @@ line-length = 120
26
32
fix = true
27
33
output-format = " grouped"
28
34
29
- [tool .ruff .format ]
30
- exclude = [ " .git" , " .venv" , " .mypy_cache" , " .tox" , " __pycache__" ]
35
+ [tool .ruff .format ]
36
+ exclude = [" .git" , " .venv" , " .mypy_cache" , " .tox" , " __pycache__" ]
31
37
32
38
[tool .mypy ]
33
39
no_implicit_optional = true
34
40
show_error_codes = true
35
41
warn_unused_ignores = true
36
42
37
43
[tool .hatch .build .targets .wheel ]
38
- packages = [ " ocp_resources" , " class_generator" ]
44
+ packages = [" ocp_resources" , " class_generator" ]
39
45
40
46
[tool .uv ]
41
- dev-dependencies = [ " ipdb>=0.13.13" , " ipython>=8.12.3" ]
47
+ dev-dependencies = [" ipdb>=0.13.13" , " ipython>=8.12.3" ]
42
48
43
49
[project ]
44
50
requires-python = " >=3.9"
@@ -47,10 +53,10 @@ version = "11.0.24"
47
53
description = " Wrapper around https://github.com/kubernetes-client/python"
48
54
readme = " README.md"
49
55
license = " Apache-2.0"
50
- keywords = [ " Openshift" , " Kubevirt" , " Openshift Virtualization" ]
56
+ keywords = [" Openshift" , " Kubevirt" , " Openshift Virtualization" ]
51
57
classifiers = [
52
58
" Programming Language :: Python :: 3" ,
53
- " Operating System :: OS Independent"
59
+ " Operating System :: OS Independent" ,
54
60
]
55
61
dependencies = [
56
62
" click>=8.1.7" ,
@@ -70,34 +76,34 @@ dependencies = [
70
76
" ruff>=0.6.9" ,
71
77
" testcontainers>=4.9.0" ,
72
78
" timeout-sampler>=0.0.46" ,
73
- " xmltodict>=0.13.0"
79
+ " xmltodict>=0.13.0" ,
74
80
]
75
81
76
- [[project .authors ]]
77
- name = " Meni Yakove"
78
-
82
+ [[project .authors ]]
83
+ name = " Meni Yakove"
84
+
79
85
80
- [[project .authors ]]
81
- name = " Ruth Netser"
82
-
86
+ [[project .authors ]]
87
+ name = " Ruth Netser"
88
+
83
89
84
- [[project .maintainers ]]
85
- name = " Meni Yakove"
86
-
90
+ [[project .maintainers ]]
91
+ name = " Meni Yakove"
92
+
87
93
88
- [[project .maintainers ]]
89
- name = " Ruth Netser"
90
-
94
+ [[project .maintainers ]]
95
+ name = " Ruth Netser"
96
+
91
97
92
- [project .urls ]
93
- homepage = " https://github.com/RedHatQE/openshift-python-wrapper"
94
- documentation = " https://openshift-python-wrapper.readthedocs.io/en/latest/"
95
- Download = " https://pypi.org/project/openshift-python-wrapper/"
96
- "Bug Tracker" = " https://github.com/RedHatQE/openshift-python-wrapper/issues"
98
+ [project .urls ]
99
+ homepage = " https://github.com/RedHatQE/openshift-python-wrapper"
100
+ documentation = " https://openshift-python-wrapper.readthedocs.io/en/latest/"
101
+ Download = " https://pypi.org/project/openshift-python-wrapper/"
102
+ "Bug Tracker" = " https://github.com/RedHatQE/openshift-python-wrapper/issues"
97
103
98
- [project .scripts ]
99
- class-generator = " class_generator.class_generator:main"
104
+ [project .scripts ]
105
+ class-generator = " class_generator.class_generator:main"
100
106
101
107
[build-system ]
102
- requires = [ " hatchling" ]
108
+ requires = [" hatchling" ]
103
109
build-backend = " hatchling.build"
0 commit comments