chore: Refactor for improved readability and maintainability #82
Annotations
2 errors and 10 warnings
lint
Process completed with exit code 3.
|
lint
Process completed with exit code 28.
|
lint:
src/instructlab/sdg/sdg.py#L97
C0303: Trailing whitespace (trailing-whitespace)
|
lint:
src/instructlab/sdg/sdg.py#L127
C0303: Trailing whitespace (trailing-whitespace)
|
lint:
src/instructlab/sdg/sdg.py#L77
W0718: Catching too general exception Exception (broad-exception-caught)
|
lint:
src/instructlab/sdg/llmblock.py#L232
W0221: Number of parameters was 2 in 'Block._validate' and is now 3 in overriding 'ConditionalLLMBlock._validate' method (arguments-differ)
|
lint:
src/instructlab/sdg/generate_data.py#L155
W0621: Redefining name 'logger' from outer scope (line 43) (redefined-outer-name)
|
lint:
src/instructlab/sdg/generate_data.py#L211
W0612: Unused variable 'name' (unused-variable)
|
lint:
src/instructlab/sdg/utilblocks.py#L83
C0303: Trailing whitespace (trailing-whitespace)
|
lint:
src/instructlab/sdg/utilblocks.py#L84
C0303: Trailing whitespace (trailing-whitespace)
|
lint:
src/instructlab/sdg/utilblocks.py#L87
C0303: Trailing whitespace (trailing-whitespace)
|
lint:
src/instructlab/sdg/utilblocks.py#L99
C0303: Trailing whitespace (trailing-whitespace)
|