Commit 621f602
committed
chore: leverage fixtures in tests and add type annotations
Use fixtures for sample DoclingDocument in tests.
Add missing function type annotation when the body contains annotations.
Signed-off-by: Cesar Berrospi Ramis <[email protected]>1 parent 3fe8b5a commit 621f602
File tree
10 files changed
+566
-543
lines changed- docling_core
- transforms/chunker/code_chunking
- types/doc
- test
- data/doc
10 files changed
+566
-543
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6138 | 6138 | | |
6139 | 6139 | | |
6140 | 6140 | | |
6141 | | - | |
| 6141 | + | |
6142 | 6142 | | |
6143 | 6143 | | |
6144 | 6144 | | |
| |||
6152 | 6152 | | |
6153 | 6153 | | |
6154 | 6154 | | |
6155 | | - | |
| 6155 | + | |
6156 | 6156 | | |
6157 | 6157 | | |
6158 | 6158 | | |
| |||
6184 | 6184 | | |
6185 | 6185 | | |
6186 | 6186 | | |
6187 | | - | |
| 6187 | + | |
6188 | 6188 | | |
6189 | 6189 | | |
6190 | 6190 | | |
| |||
0 commit comments