1
1
[project ]
2
2
name = " child-lab-framework"
3
3
version = " 0.1.0"
4
- description = " UJ ChildLab Computer Vision project"
4
+ requires-python = " >=3.12,<3.13"
5
+
5
6
authors = [
6
7
{
name =
" Jan Smółka" ,
email =
" [email protected] " },
7
8
{
name =
" Igor Urbanik" ,
email =
" [email protected] " },
8
9
]
9
- requires-python = " >=3.12,<3.13"
10
+
11
+ description = " UJ ChildLab Computer Vision project"
10
12
readme = " README.md"
13
+
11
14
dependencies = [
12
15
" opencv-python>=4.10.0.84" ,
13
16
" ultralytics>=8.2.72" ,
@@ -16,7 +19,7 @@ dependencies = [
16
19
" scipy>=1.14.1" ,
17
20
" pandas>=2.2.2" ,
18
21
" mini-face>=0.1.3" ,
19
- " depth-pro" ,
22
+ " depth-pro>=0.1.0 " ,
20
23
" click>=8.1.7" ,
21
24
" more-itertools>=10.5.0" ,
22
25
" kornia>=0.7.4" ,
@@ -25,13 +28,50 @@ dependencies = [
25
28
]
26
29
27
30
[dependency-groups ]
28
- dev = [" icecream>=2.1.3" , " ruff>=0.6.8" , " mypy>=1.11.2" , " spin>=0.13" ]
31
+ dev = [
32
+ " icecream>=2.1.3" ,
33
+ " ruff>=0.6.8" ,
34
+ " mypy>=1.11.2" ,
35
+ " spin>=0.13" ,
36
+ " pytest>=8.3.4" ,
37
+ " syrupy>=4.8.1" ,
38
+ " pytest-benchmark>=5.1.0" ,
39
+ " hypothesis>=6.129.3" ,
40
+ " basedpyright>=1.28.4" ,
41
+ ]
42
+
43
+ workspace = [
44
+ " child-lab-annotation" ,
45
+ " child-lab-cli" ,
46
+ " child-lab-data" ,
47
+ " child-lab-framework" ,
48
+ " child-lab-procedures" ,
49
+ " child-lab-visualization" ,
50
+ " marker-detection" ,
51
+ " transformation-buffer" ,
52
+ " video-io" ,
53
+ " vpc" ,
54
+ ]
55
+
56
+ [tool .uv .workspace ]
57
+ members = [" packages/*" ]
29
58
30
59
[tool .uv ]
31
- compile-bytecode = true
60
+ compile-bytecode = false
61
+ default-groups = [" dev" , " workspace" ]
32
62
33
63
[tool .uv .sources ]
34
64
depth-pro = { git = " https://github.com/child-lab-uj/depth-pro.git" }
65
+ child-lab-annotation = { workspace = true }
66
+ child-lab-cli = { workspace = true }
67
+ child-lab-data = { workspace = true }
68
+ child-lab-framework = { workspace = true }
69
+ child-lab-procedures = { workspace = true }
70
+ child-lab-visualization = { workspace = true }
71
+ marker-detection = { workspace = true }
72
+ transformation-buffer = { workspace = true }
73
+ video-io = { workspace = true }
74
+ vpc = { workspace = true }
35
75
36
76
[tool .hatch .build .targets .sdist ]
37
77
include = [" child_lab_framework" ]
@@ -52,16 +92,19 @@ quote-style = "single"
52
92
indent-style = " space"
53
93
docstring-code-format = true
54
94
95
+ [tool .ruff .lint ]
96
+ ignore = [" F722" ] # Makes using jaxtyping possible
97
+
55
98
[tool .mypy ]
56
- packages = [" child_lab_framework" ]
57
- exclude = [" venv" ]
99
+ exclude = [" .venv" ]
58
100
incremental = true
59
101
strict = true
60
102
allow_untyped_globals = false
61
103
disallow_any_expr = false
104
+ disallow_any_explicit = false
105
+ disallow_any_decorated = false
106
+ disallow_any_generics = false # This option makes using jaxtyping with numpy problematic
62
107
disallow_any_unimported = true
63
- disallow_any_decorated = true
64
- disallow_any_generics = true
65
108
disallow_subclassing_any = true
66
109
disallow_untyped_defs = true
67
110
disallow_untyped_calls = true
0 commit comments