-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (55 loc) · 1.23 KB
/
pyproject.toml
File metadata and controls
64 lines (55 loc) · 1.23 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
[project]
name = "monitor"
version = "0.0.1"
description = "A web dashboard for monitoring machine learning models with PyTorch."
authors = [
{ name = "Miguel Villa Floran", email = "miguel.villafloran@gmail.com" },
]
requires-python = ">=3.10"
readme = "README.md"
license = { file = "LICENSE" }
dependencies = ["utils", "trainer", "dashboard", "typer>=0.12.5"]
[tool.uv.sources]
utils = { workspace = true }
trainer = { workspace = true }
dashboard = { workspace = true }
[tool.uv.workspace]
members = ["shared/*", "src/*"]
[tool.uv]
dev-dependencies = [
"pre-commit>=3.8.0",
"ipykernel>=6.29.5",
"pytest>=8.3.2",
# These are added as dev dependencies becuase they should be available
# when developing the project.
"deptry>=0.23.0",
"mypy>=1.15.0",
"pytest-cov>=6.0.0",
]
package = false
[tool.isort]
profile = "black"
extend_skip = [".tmp", ".venv"]
[tool.mypy]
exclude = "^.tmp/"
ignore_missing_imports = true
[tool.bandit]
skips = ['B101']
[tool.ruff]
lint.ignore = ["E501"]
extend-exclude = [
"__pycache__",
"docs",
"site",
".eggs",
".git",
".venv",
"build",
"dist",
"notebooks",
".cache",
]
line-length = 100
[tool.pytest.ini_options]
cache_dir = ".pytest_cache"
pythonpath = [".", "scripts", "src"]