-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
41 lines (36 loc) · 1.05 KB
/
Copy pathpyproject.toml
File metadata and controls
41 lines (36 loc) · 1.05 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
[project]
name = "petvision"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
authors = [
{ name = "sciencemj", email = "sciencemj.park@gmail.com" }
]
requires-python = ">=3.13"
dependencies = [
"deeptool>=0.2.0",
"matplotlib>=3.11.1",
"pillow>=12.3.0",
"pyyaml>=6.0.3",
"torch>=2.13.0",
"torchvision>=0.28.0",
]
[project.scripts]
petvision = "petvision:main"
[build-system]
requires = ["uv_build>=0.12.1,<0.13.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"pytest>=9.1.1",
"ty>=0.0.69",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
# 실제 Oxford-IIIT Pet 다운로드가 필요한 테스트는 dataset 마커를 단다.
# 기본 검증은 `uv run pytest -m "not dataset"` 이며 데이터 없이 통과해야 한다.
markers = ["dataset: requires the downloaded Oxford-IIIT Pet dataset"]
[tool.ty.environment]
# tests 가 sys.path 에 scripts 를 넣고 CLI 모듈을 직접 import 한다.
# 같은 경로를 타입 검사기에도 알려줘야 한다.
extra-paths = ["scripts"]