-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (76 loc) · 2.2 KB
/
Copy pathpyproject.toml
File metadata and controls
87 lines (76 loc) · 2.2 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
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]
[tool.black]
line-length = 100
target-version = ['py310']
[tool.isort]
extra_standard_library = "setuptools,typing_extensions"
force_grid_wrap = 0
include_trailing_comma = true
line_length = 100
multi_line_output = 3
skip = ["/home/circleci/repo/venv", "./venv", "./.venv"]
use_parentheses = true
[tool.mypy]
allow_redefinition = false
check_untyped_defs = true
disallow_any_explicit = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
ignore_missing_imports = true
mypy_path = ".:test:gpu_box_benchmark"
no_implicit_optional = true
scripts_are_modules = true
strict_optional = false
warn_incomplete_stub = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_ignores = true
plugins = "pydantic.mypy"
[tool.poetry]
authors = ["Devon Bray"]
description = "A set of benchmarks selected to compare different GPU server builds. Uses docker to force parallelization of normally single GPU tests."
name = "gpu_box_benchmark"
readme = "README.md"
version = "0.7.0"
[tool.poetry.dependencies]
python = "^3.10"
docker = "^7.1.0"
bonus-click = "0.3.0"
pydantic = {extras = ["mypy"], version = "^2.10"}
pandas = "^2.3.3"
pydantic-extra-types = "^2.10"
nvsmi = "^0.4.2"
click-option-group = "^0.5.9"
psutil = "^7.2.1"
py-cpuinfo = "^9.0.0"
jinja2 = "^3.1.6"
matplotlib = "^3.10.8"
ansible-core = ">=2.15,<2.18"
[tool.poetry.group.dev.dependencies]
black = "*"
isort = "*"
mypy = "*"
pre-commit = "*"
pylint = "*"
pydevd-pycharm = ">=231.8109.197,<231.8110.0"
wheel = "^0.38"
[tool.poetry.group.test.dependencies]
coverage = "*"
pytest = "*"
pytest-cov = "*"
[tool.pytest.ini_options]
addopts = "-rsxX --showlocals --strict-markers"
[tool.pytest.ini_options.markers]
devtest = "temporary development mark that can be used as needed (should not be merged to master)"
integration = "tests that access outside services (s3, APIs), don't run in CircleCI"
timeout = "timeout for test in seconds, from `pytest-timeout` module"
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
warn_untyped_fields = true