Integrate Context-Aware Chunking and PDF Support #716
Annotations
7 errors and 10 warnings
src/instructlab/sdg/utils/taxonomy.py#L203
E0606: Possibly using variable 'document_contents' before assignment (possibly-used-before-assignment)
|
src/instructlab/sdg/utils/taxonomy.py#L204
E0606: Possibly using variable 'doc_filepaths' before assignment (possibly-used-before-assignment)
|
src/instructlab/sdg/utils/docprocessor.py#L16
E0401: Unable to import 'docling.datamodel.base_models' (import-error)
|
src/instructlab/sdg/utils/docprocessor.py#L17
E0401: Unable to import 'docling.datamodel.document' (import-error)
|
src/instructlab/sdg/utils/docprocessor.py#L18
E0401: Unable to import 'docling.document_converter' (import-error)
|
src/instructlab/sdg/utils/docprocessor.py#L578
E0602: Undefined variable 'd' (undefined-variable)
|
|
src/instructlab/sdg/utils/taxonomy.py#L188
W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
|
src/instructlab/sdg/utils/taxonomy.py#L10
W0611: Unused import tempfile (unused-import)
|
src/instructlab/sdg/utils/docprocessor.py#L16
C0303: Trailing whitespace (trailing-whitespace)
|
src/instructlab/sdg/utils/docprocessor.py#L10
W0404: Reimport 'Path' (imported line 4) (reimported)
|
src/instructlab/sdg/utils/docprocessor.py#L11
W0404: Reimport 'List' (imported line 5) (reimported)
|
src/instructlab/sdg/utils/docprocessor.py#L12
W0404: Reimport 'json' (imported line 6) (reimported)
|
src/instructlab/sdg/utils/docprocessor.py#L13
W0404: Reimport 're' (imported line 8) (reimported)
|
src/instructlab/sdg/utils/docprocessor.py#L127
W0612: Unused variable 'i' (unused-variable)
|
src/instructlab/sdg/utils/docprocessor.py#L129
W0612: Unused variable 'j' (unused-variable)
|
src/instructlab/sdg/utils/docprocessor.py#L172
R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
|
This job failed
Loading