-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (61 loc) · 1.43 KB
/
pyproject.toml
File metadata and controls
74 lines (61 loc) · 1.43 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "ves-is-1d-regression"
version = "0.1.0"
description = "Playing with MES/VES on toy settings"
readme = "README.md"
requires-python = ">=3.12"
license = { text = "MIT" }
authors = [
{ name = "Michael Pearce", email = "michaelp@graphcore.ai" },
]
dependencies = [
"imageio",
"matplotlib",
"numpy",
"pandas",
"pytest",
"scienceplots",
"scipy",
"scikit-learn",
"tqdm",
"torch",
# PyTorch with CUDA 12.8 wheel index
# "torch @ https://download.pytorch.org/whl/cu128",
# "torchvision @ https://download.pytorch.org/whl/cu128",
]
[project.urls]
Homepage = "https://github.com/graphcore-research/mes"
Repository = "https://github.com/graphcore-research/mes"
Issues = "https://github.com/graphcore-research/mes"
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q"
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_functions = "test_*"
[dependency-groups]
dev = [
"pre-commit>=4.3.0",
"pytest>=8.4.2",
]
[tool.ruff]
line-length = 80
target-version = "py312"
fix = true
exclude = [
".git",
"__pycache__",
"build",
"dist",
".venv",
]
[tool.ruff.lint]
ignore = ["E731"] # lambda functions can be assigned to variables
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
skip-magic-trailing-comma = false