feat: set api key and url from config.yaml #48
Annotations
10 errors
Run Ruff:
custom_components/audiobookshelf/__init__.py#L2
custom_components/audiobookshelf/__init__.py:2:1: I001 Import block is un-sorted or un-formatted
|
Run Ruff:
custom_components/audiobookshelf/__init__.py#L14
custom_components/audiobookshelf/__init__.py:14:76: COM812 Trailing comma missing
|
Run Ruff:
custom_components/audiobookshelf/__init__.py#L15
custom_components/audiobookshelf/__init__.py:15:14: COM812 Trailing comma missing
|
Run Ruff:
custom_components/audiobookshelf/__init__.py#L16
custom_components/audiobookshelf/__init__.py:16:10: COM812 Trailing comma missing
|
Run Ruff:
custom_components/audiobookshelf/__init__.py#L23
custom_components/audiobookshelf/__init__.py:23:11: ANN201 Missing return type annotation for public function `async_setup`
|
Run Ruff:
custom_components/audiobookshelf/__init__.py#L23
custom_components/audiobookshelf/__init__.py:23:23: ANN001 Missing type annotation for function argument `hass`
|
Run Ruff:
custom_components/audiobookshelf/__init__.py#L23
custom_components/audiobookshelf/__init__.py:23:29: ANN001 Missing type annotation for function argument `config`
|
Run Ruff:
custom_components/audiobookshelf/__init__.py#L39
custom_components/audiobookshelf/__init__.py:39:39: COM812 Trailing comma missing
|
Run Ruff:
custom_components/audiobookshelf/__init__.py#L44
custom_components/audiobookshelf/__init__.py:44:16: W292 No newline at end of file
|
Run Ruff:
custom_components/audiobookshelf/sensor.py#L57
custom_components/audiobookshelf/sensor.py:57:29: Q000 Single quotes found but double quotes preferred
|
Loading