forked from juanwulu/neo-lightning-hydra-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
53 lines (48 loc) · 1.1 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "src"
version = "0.1.0"
description = "A general template for deep learning project."
authors = [{ name = "David Juanwu Lu", email = "[email protected]" }]
readme = "README.md"
license = { file = "LICENSE"}
requires-python = ">=3.8, <3.12"
dependencies = [
"gitpython",
"hydra-core==1.3.*",
"hydra-colorlog==1.2.*",
"lightning>=2.0.0",
"rich",
"torch>=2.0.0",
"torchmetrics>=0.11.0",
]
[project.optional-dependencies]
dev = ["pre-commit", "pytest", "torch_tb_profiler"]
[project.urls]
"Homepage" = "https://github.com/juanwulu/lightning-hydra-template"
[tool.pytest.ini_options]
addopts = [
"--color=yes",
"--durations=0",
"--strict-markers",
"--doctest-modules",
]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::UserWarning",
]
log_cli = "True"
markers = [
"slow: slow tests",
]
minversion = "6.0"
testpaths = "tests/"
[tool.coverage.report]
exclude_lines = [
"pragma: nocover",
"raise NotImplementedError",
"raise NotImplementedError()",
"if __name__ == .__main__.:",
]