-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (73 loc) · 2.18 KB
/
Copy pathpyproject.toml
File metadata and controls
79 lines (73 loc) · 2.18 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
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: 2025 The Linux Foundation
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "packer-vexxhost-bastion-action"
version = "1.0.0"
description = "GitHub Action for building OpenStack images with Packer through Tailscale bastion"
readme = "ACTION_README.md"
requires-python = ">=3.11"
license = {text = "Apache-2.0"}
authors = [
{name = "The Linux Foundation", email = "releng@linuxfoundation.org"}
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
[project.optional-dependencies]
test = [
"pytest>=9.0.3",
"pytest-cov>=4.1.0",
"pytest-mock>=3.11.1",
"PyYAML>=6.0",
]
[tool.pytest.ini_options]
minversion = "9.0.3"
addopts = "-ra -q --strict-markers"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
# Note: Code coverage is disabled for this action as it primarily
# consists of shell scripts and YAML configurations.
# Tests validate action configurations, workflows, and script syntax.
[tool.pyright]
pythonVersion = "3.11"
include = ["scripts", "tests"]
exclude = [
"build/",
"dist/",
"docs/",
".venv/",
".mypy_cache/",
".pytest_cache/",
".ruff_cache/",
"htmlcov/",
]
typeCheckingMode = "strict"
reportMissingImports = "none"
reportMissingTypeStubs = "none"
reportUnknownParameterType = "none"
reportUnknownArgumentType = "none"
reportUnknownLambdaType = "none"
reportUnknownVariableType = "none"
reportUnknownMemberType = "none"
reportPrivateUsage = "none"
reportUnusedFunction = "none"
reportUnusedVariable = "none"
reportUnusedImport = "none"
reportUnusedCallResult = "none"
reportConstantRedefinition = "none"
reportUnusedClass = "none"
reportUntypedClassDecorator = "none"
reportUnnecessaryIsInstance = "none"
reportPossiblyUnboundVariable = "warning"
reportMissingParameterType = "warning"