Integrate Context-Aware Chunking and PDF Support #842
lint.yml
on: pull_request
Matrix: lint
lint-workflow-complete
0s
Annotations
9 errors and 10 warnings
ruff
Process completed with exit code 3.
|
mypy
Process completed with exit code 1.
|
pylint:
src/instructlab/sdg/generate_data.py#L369
E1121: Too many positional arguments for function call (too-many-function-args)
|
pylint:
src/instructlab/sdg/utils/taxonomy.py#L15
E0611: No name 'pdf_parser' in module 'docling_parse.docling_parse' (no-name-in-module)
|
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/taxonomy.py#L445
E1120: No value for argument 'model_name' in function call (no-value-for-parameter)
|
pylint:
src/instructlab/sdg/utils/chunkers.py#L39
E0211: Method 'chunk_documents' has no argument (no-method-argument)
|
pylint
Process completed with exit code 30.
|
pylint:
src/instructlab/sdg/generate_data.py#L375
C0303: Trailing whitespace (trailing-whitespace)
|
pylint:
src/instructlab/sdg/generate_data.py#L16
W0611: Unused Dataset imported from datasets (unused-import)
|
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 30) (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)
|