-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
62 lines (54 loc) · 1.45 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
[project]
name = "sign-language-segmentation"
description = "Sign language pose segmentation model on both the sentence and sign level"
version = "0.0.1"
authors = [
{ name = "Amit Moryossef", email = "[email protected]" },
{ name = "Zifan Jiang", email = "[email protected]" }
]
readme = "README.md"
dependencies = [
"pose-format>=0.3.2",
"numpy<2.0.0",
"pympi-ling", # Working with ELAN files in CLI
"torch",
]
[project.optional-dependencies]
dev = [
"pytest",
"pylint",
"pytorch-lightning",
"mediapipe",
"sign_language_datasets @ git+https://github.com/sign-language-processing/datasets",
"wandb",
"matplotlib",
"scikit-learn",
"pandas"
]
[tool.yapf]
based_on_style = "google"
column_limit = 120
[tool.pylint]
max-line-length = 120
disable = [
"C0114", # Missing module docstring
"C0115", # Missing class docstring
"C0116", # Missing function or method docstring
"C0415", # Import outside toplevel
]
good-names = ["i", "f", "x", "y"]
[tool.pylint.typecheck]
generated-members = ["torch.*", "numpy.*", "cv2.*"]
[tool.setuptools]
packages = [
"sign_language_segmentation",
"sign_language_segmentation.src",
"sign_language_segmentation.src.utils",
]
[tool.setuptools.package-data]
sign_language_segmentation = ["**/*.pth"]
[tool.pytest.ini_options]
addopts = "-v"
testpaths = ["sign_language_segmentation"]
[project.scripts]
pose_to_segments = "sign_language_segmentation.bin:main"