-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
70 lines (62 loc) · 1.52 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
68
69
70
[build-system]
requires = ["hatchling>=1.25.0"]
build-backend = "hatchling.build"
[project]
name = "hwbench"
authors = [{name = "Erwan Velu", email = "e.velu@criteo.com"}, {name = "Anisse Astier", email = "a.astier@criteo.com"}, {name = "Aurélien Rougemont", email="a.rougemont@criteo.com"}]
description = "hwbench is a benchmark orchestrator to automate the low-level testing of servers"
version = "0.2.0"
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"cachetools",
"redfish",
"packaging"
]
[project.urls]
Home = "https://github.com/criteo/hwbench"
[project.scripts]
hwbench = "hwbench.hwbench:main"
hwgraph = "graph.hwgraph:main"
[tool.hatch.build]
packages = ["hwbench", "graph"]
[dependency-groups]
dev = [
"cachetools>=4.2.4",
"mypy",
"pytest>=8.3.3",
"ruff>=0.7.1",
"types-cachetools>=5.5.0.20240820",
"uv>=0.4.27"
]
[project.optional-dependencies]
graph = [
"numpy",
"matplotlib>3.5.0",
"pillow>=11.0.0",
"pycairo",
]
[tool.ruff]
target-version = 'py39'
line-length = 120
[tool.ruff.lint]
# See complete list : https://docs.astral.sh/ruff/rules/
select = [
"E", # pycodestyle
"W", # pycodestyle
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"SIM", # flake8-simplify
"YTT", # flake8-2020
"FA", # flake8-future-annotations
"ISC", # flake8-implicit-str-concat
"PYI", # flake8-pyi
"PT", # flake8-pytest-style
"TID", # flake8-tidy-imports
"ERA", # eradicate
]
ignore = [
"E501",
"ISC001",
]