-
Notifications
You must be signed in to change notification settings - Fork 865
/
Copy pathpyproject.toml
62 lines (56 loc) · 1.2 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
[project]
name = "tensorboardx"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.9"
dependencies = []
[tool.uv.sources]
torch = { index = "pytorch-cpu" }
torchvision = { index = "pytorch-cpu" }
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[dependency-groups]
dev = [
"pytest-cov>=6.0.0",
"pytest>=8.3.4",
"protobuf==4.22.3",
"torch>=2.5.1",
"torchvision>=0.20.1",
"numpy>=2.0.2",
"tensorboard>=2.18.0",
"boto3>=1.35.81",
"matplotlib>=3.9.4",
"moto<5",
"soundfile>=0.12.1",
"visdom>=0.2.4",
"onnx>=1.17.0",
"imageio==2.27",
"ruff>=0.8.4",
]
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
"proto",
]
[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default.
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
# "B",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore = ["F401", "E501", "E721", "E741"]