Unify repository structure (#70) #15
linting.yml
on: push
codespell
22s
Ruff
23s
pre-commit-hooks
32s
pylint
25s
yamllint
23s
Prettier
27s
Annotations
12 errors
Ruff (D100):
aioelectricitymaps/const.py#L1
aioelectricitymaps/const.py:1:1: D100 Missing docstring in public module
|
Ruff (D101):
aioelectricitymaps/const.py#L6
aioelectricitymaps/const.py:6:7: D101 Missing docstring in public class
|
Ruff (TCH003):
aioelectricitymaps/decorators.py#L4
aioelectricitymaps/decorators.py:4:29: TCH003 Move standard library import `collections.abc.Callable` into a type-checking block
|
Ruff (TCH003):
aioelectricitymaps/decorators.py#L4
aioelectricitymaps/decorators.py:4:39: TCH003 Move standard library import `collections.abc.Coroutine` into a type-checking block
|
Ruff (D401):
aioelectricitymaps/decorators.py#L16
aioelectricitymaps/decorators.py:16:5: D401 First line of docstring should be in imperative mood: "Decorator to retry a function with the legacy API if SwitchedToLegacyAPI is raised."
|
Ruff (E501):
aioelectricitymaps/decorators.py#L16
aioelectricitymaps/decorators.py:16:89: E501 Line too long (93 > 88)
|
Ruff (D101):
aioelectricitymaps/electricitymaps.py#L26
aioelectricitymaps/electricitymaps.py:26:7: D101 Missing docstring in public class
|
Ruff (D202):
aioelectricitymaps/electricitymaps.py#L34
aioelectricitymaps/electricitymaps.py:34:9: D202 No blank lines allowed after function docstring (found 1)
|
Ruff (TRY003):
aioelectricitymaps/electricitymaps.py#L51
aioelectricitymaps/electricitymaps.py:51:19: TRY003 Avoid specifying long messages outside the exception class
|
Ruff (EM102):
aioelectricitymaps/electricitymaps.py#L52
aioelectricitymaps/electricitymaps.py:52:17: EM102 Exception must not use an f-string literal, assign to variable first
|
pylint
Process completed with exit code 1.
|
pre-commit-hooks
Process completed with exit code 1.
|