-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
132 lines (118 loc) · 3.03 KB
/
Copy pathpyproject.toml
File metadata and controls
132 lines (118 loc) · 3.03 KB
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
127
128
129
130
131
132
[build-system]
requires = ["setuptools>=45,<81.0.0", "wheel", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "qubinode-kvmhost-setup-collection"
description = "Qubinode KVM Host Setup Ansible Collection"
readme = "README.md"
license = {text = "GPL-3.0-or-later"}
authors = [
{name = "Qubinode Team", email = "info@qubinode.io"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: System :: Installation/Setup",
"Topic :: System :: Systems Administration",
]
keywords = ["ansible", "kvm", "virtualization", "rhel", "rocky", "centos"]
requires-python = ">=3.11"
dependencies = [
"ansible-core>=2.18.0,<2.19.0",
"ansible-lint>=6.0.0",
"molecule>=25.6.0",
"molecule-podman",
"yamllint>=1.28.0",
"jinja2>=3.0.0",
"packaging",
"requests",
"pyyaml",
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"pre-commit>=2.15.0",
"pytest>=6.0.0",
"pytest-ansible",
"testinfra",
"bandit>=1.7.0",
"safety>=2.0.0",
]
docs = [
"sphinx",
"sphinx-rtd-theme",
]
testing = [
"molecule>=25.6.0",
"molecule-podman",
"pytest>=6.0.0",
"pytest-ansible",
"testinfra",
]
[project.urls]
Homepage = "https://github.com/Qubinode/qubinode_kvmhost_setup_collection"
Repository = "https://github.com/Qubinode/qubinode_kvmhost_setup_collection.git"
Issues = "https://github.com/Qubinode/qubinode_kvmhost_setup_collection/issues"
Documentation = "https://github.com/Qubinode/qubinode_kvmhost_setup_collection/blob/main/README.md"
[tool.setuptools]
packages = []
[tool.setuptools_scm]
write_to = "_version.py"
[tool.ansible-lint]
exclude_paths = [
".cache/",
".github/",
".venv/",
"molecule/",
"tests/",
]
skip_list = [
"yaml[line-length]",
"name[casing]",
]
warn_list = [
"experimental",
]
[tool.yamllint]
extends = "default"
[tool.yamllint.rules.line-length]
max = 120
[tool.yamllint.rules.indentation]
indent-sequences = true
[tool.yamllint.rules.comments-indentation]
disable = true
[tool.yamllint.rules.comments]
min-spaces-from-content = 1
[tool.bandit]
exclude_dirs = ["tests", "molecule", "roles/linux-system-roles.network", "roles/linux-system-roles.storage"]
skips = ["B101", "B601", "B110", "B603", "B607"] # Skip try/except/pass and subprocess warnings for external roles
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
addopts = "-v --tb=short"
[tool.black]
line-length = 88
target-version = ['py311']
include = '\.pyi?$'
extend-exclude = """
/(
# directories
\\.eggs
| \\.git
| \\.hg
| \\.mypy_cache
| \\.tox
| \\.venv
| build
| dist
)/
"""