Unify repository structure (#70) #15
Annotations
10 errors
π Run ruff linter:
aioelectricitymaps/const.py#L1
aioelectricitymaps/const.py:1:1: D100 Missing docstring in public module
|
π Run ruff linter:
aioelectricitymaps/const.py#L6
aioelectricitymaps/const.py:6:7: D101 Missing docstring in public class
|
π Run ruff linter:
aioelectricitymaps/decorators.py#L4
aioelectricitymaps/decorators.py:4:29: TCH003 Move standard library import `collections.abc.Callable` into a type-checking block
|
π Run ruff linter:
aioelectricitymaps/decorators.py#L4
aioelectricitymaps/decorators.py:4:39: TCH003 Move standard library import `collections.abc.Coroutine` into a type-checking block
|
π Run ruff linter:
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."
|
π Run ruff linter:
aioelectricitymaps/decorators.py#L16
aioelectricitymaps/decorators.py:16:89: E501 Line too long (93 > 88)
|
π Run ruff linter:
aioelectricitymaps/electricitymaps.py#L26
aioelectricitymaps/electricitymaps.py:26:7: D101 Missing docstring in public class
|
π Run ruff linter:
aioelectricitymaps/electricitymaps.py#L34
aioelectricitymaps/electricitymaps.py:34:9: D202 No blank lines allowed after function docstring (found 1)
|
π Run ruff linter:
aioelectricitymaps/electricitymaps.py#L51
aioelectricitymaps/electricitymaps.py:51:19: TRY003 Avoid specifying long messages outside the exception class
|
π Run ruff linter:
aioelectricitymaps/electricitymaps.py#L52
aioelectricitymaps/electricitymaps.py:52:17: EM102 Exception must not use an f-string literal, assign to variable first
|
The logs for this run have expired and are no longer available.
Loading