-
Notifications
You must be signed in to change notification settings - Fork 53
/
pyproject.toml
100 lines (89 loc) · 1.95 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[project]
name = "viam-sdk"
description = "Viam Robotics Python SDK"
authors = [
{name = "Naveed Jooma", email = "[email protected]" }
]
license = "Apache-2.0"
readme = "README.md"
requires-python = ">=3.8.1"
dynamic = [
'version',
]
dependencies = [
"googleapis-common-protos>=1.65.0",
"grpclib>=0.4.7",
"protobuf==5.29.1",
"typing-extensions>=4.12.2",
"pymongo>=4.10.1"
]
[project.urls]
Homepage = "https://www.viam.com"
Documentation = "https://python.viam.dev"
Repository = "https://github.com/viamrobotics/viam-python-sdk"
[project.optional-dependencies]
mlmodel = [
"numpy"
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/viam/version_metadata.py"
[tool.hatch.build.targets.wheel]
packages = ["src/viam"]
artifacts = ["src/viam/rpc/libviam_rust_utils.*"]
[tool.uv]
dev-dependencies = [
"coverage>=7.6.1",
"mypy-protobuf>=3.6.0",
"myst-nb<1.0.0; python_version<'3.9'",
"myst-nb>=1.0.0; python_version>='3.9'",
"nbmake>=1.5.4",
"numpy<1.25.0; python_version<'3.9'",
"numpy>=1.26.2; python_version>='3.9'",
"pillow>=10.4.0",
"pyright>=1.1.382.post1",
"pytest-asyncio>=0.24.0",
"pytest-mock>=3.14.0",
"pytest>=8.3.3",
"ruff>=0.6.8",
"sphinx-autoapi<3.0.0; python_version<'3.9'",
"sphinx-autoapi>=3.0.0; python_version>='3.9'",
"sphinx-rtd-theme>=2.0.0",
"types-pillow>=10.2.0.20240822",
]
[tool.pytest.ini_options]
addopts = "-ra"
testpaths = "tests"
asyncio_mode = "auto"
[tool.coverage.run]
omit = [ "*/gen/*", "*/proto/*" ]
[tool.pyright]
include = [ "src" ]
exclude = [ "**/gen", "**/proto" ]
[tool.ruff]
line-length = 140
exclude = [
".direnv",
".git",
".git-rewrite",
".ipynb_checkpoints",
".mypy_cache",
".pytest_cache",
".ruff_cache",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"build",
"dist",
"venv",
"gen",
"*_grpc.py",
"*_pb2.py",
"*.pyi",
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]