Make requests to the refuel functions without the inference server (#… #31
Annotations
10 errors
Ruff (ANN201):
src/autolabel/models/__init__.py#L36
src/autolabel/models/__init__.py:36:5: ANN201 Missing return type annotation for public function `register_model`
|
Ruff (ANN001):
src/autolabel/models/__init__.py#L36
src/autolabel/models/__init__.py:36:20: ANN001 Missing type annotation for function argument `name`
|
Ruff (ANN001):
src/autolabel/models/__init__.py#L36
src/autolabel/models/__init__.py:36:26: ANN001 Missing type annotation for function argument `model_cls`
|
Ruff (E501):
src/autolabel/models/__init__.py#L43
src/autolabel/models/__init__.py:43:89: E501 Line too long (115 > 88)
|
Ruff (D417):
src/autolabel/models/__init__.py#L46
src/autolabel/models/__init__.py:46:9: D417 Missing argument description in the docstring for `from_config`: `tokenizer`
|
Ruff (E501):
src/autolabel/models/__init__.py#L52
src/autolabel/models/__init__.py:52:89: E501 Line too long (102 > 88)
|
Ruff (E501):
src/autolabel/models/__init__.py#L56
src/autolabel/models/__init__.py:56:89: E501 Line too long (90 > 88)
|
Ruff (S101):
src/autolabel/models/__init__.py#L67
src/autolabel/models/__init__.py:67:13: S101 Use of `assert` detected
|
Ruff (TRY400):
src/autolabel/models/__init__.py#L74
src/autolabel/models/__init__.py:74:13: TRY400 Use `logging.exception` instead of `logging.error`
|
Ruff (TRY201):
src/autolabel/models/__init__.py#L78
src/autolabel/models/__init__.py:78:19: TRY201 Use `raise` without specifying exception name
|