-
Notifications
You must be signed in to change notification settings - Fork 252
/
pyproject.toml
59 lines (51 loc) · 1.12 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
[project]
name = "depth_pro"
version = "0.1"
description = "Inference/Network/Model code for Apple Depth Pro monocular depth estimation."
readme = "README.md"
dependencies = [
"torch",
"torchvision",
"timm",
"numpy<2",
"pillow_heif",
"matplotlib",
]
[project.scripts]
depth-pro-run = "depth_pro.cli:run_main"
[project.urls]
Homepage = "https://github.com/apple/ml-depth-pro"
Repository = "https://github.com/apple/ml-depth-pro"
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pyright]
include = ["src"]
exclude = [
"**/node_modules",
"**/__pycache__",
]
pythonVersion = "3.9"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = [
"tests"
]
filterwarnings = [
"ignore::DeprecationWarning"
]
[tool.lint.per-file-ignores]
"__init__.py" = ["F401", "D100", "D104"]
[tool.ruff]
line-length = 100
lint.select = ["E", "F", "D", "I"]
lint.ignore = ["D100", "D105"]
extend-exclude = [
"*external*",
"third_party",
]
src = ["depth_pro", "tests"]
target-version = "py39"