Update pyproject setting, remove pytest.ini and fix ruff findings #21
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#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#L52
aioelectricitymaps/electricitymaps.py:52:19: TRY003 Avoid specifying long messages outside the exception class
|
π Run ruff linter:
aioelectricitymaps/electricitymaps.py#L53
aioelectricitymaps/electricitymaps.py:53:17: EM102 Exception must not use an f-string literal, assign to variable first
|
π Run ruff linter:
aioelectricitymaps/electricitymaps.py#L55
aioelectricitymaps/electricitymaps.py:55:16: BLE001 Do not catch blind exception: `Exception`
|
π Run ruff linter:
aioelectricitymaps/electricitymaps.py#L56
aioelectricitymaps/electricitymaps.py:56:19: TRY003 Avoid specifying long messages outside the exception class
|
π Run ruff linter:
aioelectricitymaps/electricitymaps.py#L57
aioelectricitymaps/electricitymaps.py:57: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