-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (52 loc) · 1.69 KB
/
pyproject.toml
File metadata and controls
63 lines (52 loc) · 1.69 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "ironic-understack"
version = "0.0.0"
description = "Ironic hooks for Understack"
authors = [{ name = "Marek Skrobacki", email = "marek.skrobacki@rackspace.co.uk" }]
requires-python = "~=3.10.0"
readme = "README.md"
license = "MIT"
dependencies = [
"ironic>=33,<34",
"pyyaml~=6.0",
"understack-flavor-matcher",
]
[project.entry-points."ironic.inspection.hooks"]
resource-class = "ironic_understack.resource_class:ResourceClassHook"
update-baremetal-port = "ironic_understack.update_baremetal_port:UpdateBaremetalPortsHook"
port-bios-name = "ironic_understack.port_bios_name_hook:PortBiosNameHook"
[project.entry-points."ironic.hardware.interfaces.inspect"]
redfish-understack = "ironic_understack.redfish_inspect_understack:UnderstackRedfishInspect"
idrac-redfish-understack = "ironic_understack.redfish_inspect_understack:UnderstackDracRedfishInspect"
[dependency-groups]
test = [
"pytest>=9.0.1,<10",
"pytest-cov>=7,<8",
"pytest-github-actions-annotate-failures",
"pytest-mock>=3.15.1",
]
[tool.uv]
default-groups = ["test"]
[tool.uv.sources]
understack-flavor-matcher = { path = "../understack-flavor-matcher" }
[tool.hatch.build.targets.sdist]
include = ["ironic_understack"]
[tool.hatch.build.targets.wheel]
include = ["ironic_understack"]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra --cov=ironic_understack"
testpaths = [
"tests",
]
[tool.ruff]
# use our default and override anything we need specifically
extend = "../pyproject.toml"
target-version = "py310"
[tool.ruff.lint.per-file-ignores]
"ironic_understack/tests/*.py" = [
"S101", # allow 'assert' for pytest
]