-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
67 lines (60 loc) · 1.59 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
[project]
name = "fujitsu-ansible-irmc-integration"
version = "2.0.1"
description = "Ansible collection for manage PRIMERGY servers via iRMC"
authors = [
{name = "Shinya Hamano", email = "[email protected]"},
{name = "Yutaka Kamioka", email = "[email protected]"},
{name = "Jiajun Guo", email = "[email protected]"},
{name = "Tomohisa Nakai", email = "[email protected]"},
]
dependencies = [
"ansible>=8.7.0",
"requests>=2.32.3",
"urllib3>=2.2.2",
"requests-toolbelt>=1.0.0",
"pywinrm>=0.5.0",
]
readme = "README.md"
license = {file = "docs/LICENSE.md"}
requires-python = ">= 3.10"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = [
"pip>=24.2",
"lxml>=5.2.2",
"pytest>=8.3.2",
"ruff>=0.5.5",
"radon>=6.0.1",
"ansible-lint>=24.7.0",
]
[tool.hatch.build.targets.wheel]
packages = ["library", "module_utils"]
[tool.ruff]
exclude = [".venv"]
line-length = 119
select = ["ALL"]
ignore = [
"C408", # unnecessary-collection-call. (e.g., dict(), dict(a=1, b=2), list(), tuple())
"D400", # ends-in-period
"D415", # ends-in-punctuation
]
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
inline-quotes = "single"
multiline-quotes = "single"
[tool.ruff.lint.per-file-ignores]
"./library/*.py" = [
"D100", # undocumented-public-module
"E402", # module-import-not-at-top-of-file
"EXE001", # shebang-not-executable
]
"./tests/*.py" = [
"D",
"ANN201", # missing-return-type-undocumented-public-function
]