chore: adjust test system prompt #1
Annotations
10 errors
Check for code issues (ruff check):
src/llmling/cli.py#L68
src/llmling/cli.py:68:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
|
Check for code issues (ruff check):
src/llmling/cli.py#L109
src/llmling/cli.py:109:9: SIM115 Use a context manager for opening files
|
Check for code issues (ruff check):
src/llmling/cli.py#L109
src/llmling/cli.py:109:9: PTH123 `open()` should be replaced by `Path.open()`
|
Check for code issues (ruff check):
src/llmling/client.py#L13
src/llmling/client.py:13:37: TCH001 Move application import `llmling.processors.base.ProcessorConfig` into a type-checking block
|
Check for code issues (ruff check):
src/llmling/client.py#L18
src/llmling/client.py:18:33: TCH001 Move application import `llmling.task.models.TaskResult` into a type-checking block
|
Check for code issues (ruff check):
src/llmling/client.py#L318
src/llmling/client.py:318:15: PYI034 `__aenter__` methods in classes like `LLMLingClient` usually return `self` at runtime
|
Check for code issues (ruff check):
src/llmling/client.py#L323
src/llmling/client.py:323:41: PYI036 The first argument in `__aexit__` should be annotated with `object` or `type[BaseException] | None`
|
Check for code issues (ruff check):
src/llmling/client.py#L323
src/llmling/client.py:323:55: PYI036 The second argument in `__aexit__` should be annotated with `object` or `BaseException | None`
|
Check for code issues (ruff check):
src/llmling/client.py#L323
src/llmling/client.py:323:68: PYI036 The third argument in `__aexit__` should be annotated with `object` or `types.TracebackType | None`
|
Check for code issues (ruff check):
src/llmling/client.py#L327
src/llmling/client.py:327:9: PYI034 `__enter__` methods in classes like `LLMLingClient` usually return `self` at runtime
|
Loading