fix long line issues #29
Annotations
10 errors
|
Ruff (I001):
growattServer/open_api_v1.py#L1
growattServer/open_api_v1.py:1:1: I001 Import block is un-sorted or un-formatted
|
|
Ruff (ANN001):
growattServer/exceptions.py#L30
growattServer/exceptions.py:30:50: ANN001 Missing type annotation for function argument `error_msg`
|
|
Ruff (ANN001):
growattServer/exceptions.py#L30
growattServer/exceptions.py:30:33: ANN001 Missing type annotation for function argument `error_code`
|
|
Ruff (ANN001):
growattServer/exceptions.py#L30
growattServer/exceptions.py:30:24: ANN001 Missing type annotation for function argument `message`
|
|
Ruff (D107):
growattServer/exceptions.py#L30
growattServer/exceptions.py:30:9: D107 Missing docstring in `__init__`
|
|
Ruff (ANN204):
growattServer/exceptions.py#L30
growattServer/exceptions.py:30:9: ANN204 Missing return type annotation for special method `__init__`
|
|
Ruff (PIE790):
growattServer/exceptions.py#L24
growattServer/exceptions.py:24:5: PIE790 Unnecessary `pass` statement
|
|
Ruff (D204):
growattServer/exceptions.py#L23
growattServer/exceptions.py:23:5: D204 1 blank line required after class docstring
|
|
Ruff (PIE790):
growattServer/exceptions.py#L19
growattServer/exceptions.py:19:5: PIE790 Unnecessary `pass` statement
|
|
Ruff (D204):
growattServer/exceptions.py#L18
growattServer/exceptions.py:18:5: D204 1 blank line required after class docstring
|