Integrate Context-Aware Chunking and PDF Support #754
lint.yml
on: pull_request
Matrix: lint
lint-workflow-complete
0s
Annotations
12 errors and 10 warnings
ruff
Process completed with exit code 3.
|
mypy
Process completed with exit code 1.
|
pylint:
src/instructlab/sdg/utils/taxonomy.py#L14
E0401: Unable to import 'docling_parse.docling_parse' (import-error)
|
pylint:
src/instructlab/sdg/utils/taxonomy.py#L279
E0606: Possibly using variable 'document_contents' before assignment (possibly-used-before-assignment)
|
pylint:
src/instructlab/sdg/utils/taxonomy.py#L280
E0606: Possibly using variable 'doc_filepaths' before assignment (possibly-used-before-assignment)
|
pylint:
src/instructlab/sdg/utils/chunkers.py#L13
E0401: Unable to import 'docling.datamodel.base_models' (import-error)
|
pylint:
src/instructlab/sdg/utils/chunkers.py#L14
E0401: Unable to import 'docling.datamodel.document' (import-error)
|
pylint:
src/instructlab/sdg/utils/chunkers.py#L15
E0401: Unable to import 'docling.document_converter' (import-error)
|
pylint:
src/instructlab/sdg/utils/chunkers.py#L33
E0211: Method 'chunk_documents' has no argument (no-method-argument)
|
pylint:
src/instructlab/sdg/utils/chunkers.py#L137
E1121: Too many positional arguments for method call (too-many-function-args)
|
pylint:
src/instructlab/sdg/utils/chunkers.py#L161
E0213: Method '_num_chars_from_tokens' should have "self" as first argument (no-self-argument)
|
pylint
Process completed with exit code 30.
|
pylint:
src/instructlab/sdg/utils/taxonomy.py#L222
W0718: Catching too general exception Exception (broad-exception-caught)
|
pylint:
src/instructlab/sdg/utils/taxonomy.py#L206
W0718: Catching too general exception Exception (broad-exception-caught)
|
pylint:
src/instructlab/sdg/utils/taxonomy.py#L138
R1702: Too many nested blocks (10/5) (too-many-nested-blocks)
|
pylint:
src/instructlab/sdg/utils/taxonomy.py#L138
R1702: Too many nested blocks (7/5) (too-many-nested-blocks)
|
pylint:
src/instructlab/sdg/utils/taxonomy.py#L245
W0621: Redefining name 'parser' from outer scope (line 29) (redefined-outer-name)
|
pylint:
src/instructlab/sdg/utils/taxonomy.py#L263
W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
|
pylint:
src/instructlab/sdg/utils/taxonomy.py#L4
W0611: Unused datetime imported from datetime (unused-import)
|
pylint:
src/instructlab/sdg/utils/taxonomy.py#L11
W0611: Unused import tempfile (unused-import)
|
pylint:
src/instructlab/sdg/utils/chunkers.py#L70
C0303: Trailing whitespace (trailing-whitespace)
|
pylint:
src/instructlab/sdg/utils/chunkers.py#L436
C0303: Trailing whitespace (trailing-whitespace)
|