-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
113 lines (101 loc) · 2.21 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
101
102
103
104
105
106
107
108
109
110
111
112
113
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "vuer"
version = "0.0.35"
description = ""
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.7"
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python",
]
dependencies = [
"params-proto>=2.11.16",
"pillow",
"msgpack",
"numpy>=1.21", # because we require numpy.typing.NDArray
"websockets",
]
[project.optional-dependencies]
# add the cors package, not needed in pyScript
all = [
"aiohttp",
"aiohttp-cors",
"killport",
]
example = [
"aiohttp",
"aiohttp-cors",
"killport",
"open3d>=0.15.0,<0.16.0",
"trimesh",
"cmx",
"functional_notations",
"ml_logger",
"opencv-python"
]
dev = [
"aiohttp",
"aiohttp-cors",
"killport",
"black==22.3.0",
"pylint==2.13.4",
"pytest==7.1.2",
"sphinx==7.1.2",
"furo",
"sphinx-autobuild",
"sphinx_copybutton",
"myst_parser",
# these are very optional, but needed for the doc site
"trimesh",
"tqdm",
]
[project.scripts]
# Note, add entrypoint name to scripts/completions/install.py to include CLI percentage
vuer = "vuer:entrypoint"
[tool.setuptools.packages.find]
include = ["vuer*"]
[tool.setuptools.package-data]
"*" = ["*.json"]
# black
[tool.black]
line-length = 120
# pylint
[tool.pylint.messages_control]
max-line-length = 120
generated-members = []
good-names-rgxs = "^[_a-zA-Z][_a-z0-9]?$"
ignore-paths = []
jobs = 0
ignored-classes = ["TensorDataclass"]
disable = [
"duplicate-code",
"fixme",
"logging-fstring-interpolation",
"too-many-arguments",
"too-many-branches",
"too-many-instance-attributes",
"too-many-locals",
"unnecessary-ellipsis",
]
#pytest
#[tool.pytest.ini_options]
#addopts = "-n=4 --typeguard-packages=vuer --disable-warnings"
#testpaths = [
# "tests",
#]
# pyright
[tool.pyright]
include = ["vuer"]
exclude = ["**/node_modules", "**/__pycache__", ]
#ignore = ["nerf_vuer"]
defineConstant = { DEBUG = true }
reportMissingImports = true
reportMissingTypeStubs = false
reportPrivateImportUsage = false
reportUndefinedVariable = false
#pythonVersion = "3.8"
#pythonPlatform = "Linux"