feat: set api key and url from config.yaml #51
Annotations
11 errors and 1 warning
Ruff (I001):
custom_components/audiobookshelf/__init__.py#L2
custom_components/audiobookshelf/__init__.py:2:1: I001 Import block is un-sorted or un-formatted
|
Ruff (COM812):
custom_components/audiobookshelf/__init__.py#L14
custom_components/audiobookshelf/__init__.py:14:76: COM812 Trailing comma missing
|
Ruff (COM812):
custom_components/audiobookshelf/__init__.py#L15
custom_components/audiobookshelf/__init__.py:15:14: COM812 Trailing comma missing
|
Ruff (COM812):
custom_components/audiobookshelf/__init__.py#L16
custom_components/audiobookshelf/__init__.py:16:10: COM812 Trailing comma missing
|
Ruff (ANN201):
custom_components/audiobookshelf/__init__.py#L23
custom_components/audiobookshelf/__init__.py:23:11: ANN201 Missing return type annotation for public function `async_setup`
|
Ruff (ANN001):
custom_components/audiobookshelf/__init__.py#L23
custom_components/audiobookshelf/__init__.py:23:23: ANN001 Missing type annotation for function argument `hass`
|
Ruff (ANN001):
custom_components/audiobookshelf/__init__.py#L23
custom_components/audiobookshelf/__init__.py:23:29: ANN001 Missing type annotation for function argument `config`
|
Ruff (COM812):
custom_components/audiobookshelf/__init__.py#L39
custom_components/audiobookshelf/__init__.py:39:39: COM812 Trailing comma missing
|
Ruff (W292):
custom_components/audiobookshelf/__init__.py#L44
custom_components/audiobookshelf/__init__.py:44:16: W292 No newline at end of file
|
Ruff (Q000):
custom_components/audiobookshelf/sensor.py#L57
custom_components/audiobookshelf/sensor.py:57:29: Q000 Single quotes found but double quotes preferred
|
mypy
Process completed with exit code 1.
|
mypy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|