Add AzureOpenAI model provider (#949) #39
Annotations
10 errors
Ruff (I001):
src/autolabel/models/__init__.py#L13
src/autolabel/models/__init__.py:13:1: I001 Import block is un-sorted or un-formatted
|
Ruff (ANN201):
src/autolabel/models/__init__.py#L38
src/autolabel/models/__init__.py:38:5: ANN201 Missing return type annotation for public function `register_model`
|
Ruff (ANN001):
src/autolabel/models/__init__.py#L38
src/autolabel/models/__init__.py:38:20: ANN001 Missing type annotation for function argument `name`
|
Ruff (ANN001):
src/autolabel/models/__init__.py#L38
src/autolabel/models/__init__.py:38:26: ANN001 Missing type annotation for function argument `model_cls`
|
Ruff (E501):
src/autolabel/models/__init__.py#L45
src/autolabel/models/__init__.py:45:89: E501 Line too long (115 > 88)
|
Ruff (D417):
src/autolabel/models/__init__.py#L48
src/autolabel/models/__init__.py:48:9: D417 Missing argument description in the docstring for `from_config`: `tokenizer`
|
Ruff (E501):
src/autolabel/models/__init__.py#L54
src/autolabel/models/__init__.py:54:89: E501 Line too long (102 > 88)
|
Ruff (E501):
src/autolabel/models/__init__.py#L58
src/autolabel/models/__init__.py:58:89: E501 Line too long (90 > 88)
|
Ruff (S101):
src/autolabel/models/__init__.py#L69
src/autolabel/models/__init__.py:69:13: S101 Use of `assert` detected
|
Ruff (TRY400):
src/autolabel/models/__init__.py#L76
src/autolabel/models/__init__.py:76:13: TRY400 Use `logging.exception` instead of `logging.error`
|