Bump types-protobuf from 4.23.0.1 to 5.26.0.20240422 #114
Annotations
26 errors and 10 warnings
Lint with flake8:
aioesphomeapi/_frame_helper.py#L250
E302 expected 2 blank lines, found 1
|
Lint with flake8
Process completed with exit code 1.
|
Check formatting with black
Process completed with exit code 1.
|
Check typing with mypy:
aioesphomeapi/_frame_helper.py#L246
If x = b'abc' then f"{x}" or "{}".format(x) produces "b'abc'", not "abc". If this is desired behavior, use f"{x!r}" or "{!r}".format(x). Otherwise, decode the bytes [str-bytes-safe]
|
Check typing with mypy:
aioesphomeapi/_frame_helper.py#L247
Item "None" of "Optional[Transport]" has no attribute "write" [union-attr]
|
Check typing with mypy:
aioesphomeapi/host_resolver.py#L204
Argument 1 to "startswith" of "str" has incompatible type "Union[str, bool]"; expected "Union[str, tuple[str, ...]]" [arg-type]
|
Check typing with mypy:
aioesphomeapi/connection.py#L324
Item "APINoiseFrameHelper" of "Union[APIPlaintextFrameHelper, APINoiseFrameHelper]" has no attribute "meshmesh_handshake" [union-attr]
|
Check typing with mypy
Process completed with exit code 1.
|
Check protobuf files match
check_call([
|
Check protobuf files match
raise CalledProcessError(retcode, cmd)
|
Check protobuf files match
Process completed with exit code 1.
|
Lint with pylint:
aioesphomeapi/_frame_helper.py#L79
E0237: Assigning to attribute '_meshmesh_handshake' not defined in class slots (assigning-non-slot)
|
Lint with pylint:
aioesphomeapi/_frame_helper.py#L80
E0237: Assigning to attribute '_meshmesh_handshake_event' not defined in class slots (assigning-non-slot)
|
Lint with pylint:
aioesphomeapi/_frame_helper.py#L248
E1101: Instance of 'APIPlaintextFrameHelper' has no '_meshmesh_handshake_event' member (no-member)
|
Lint with pylint:
aioesphomeapi/_frame_helper.py#L159
E0203: Access to member '_meshmesh_handshake' before its definition line 161 (access-member-before-definition)
|
Lint with pylint
Process completed with exit code 14.
|
Run tests with pytest
result: Optional[TResult] = func()
|
Run tests with pytest
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
|
Run tests with pytest
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
|
Run tests with pytest
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
|
Run tests with pytest
return outcome.get_result()
|
Run tests with pytest
raise exc.with_traceback(exc.__traceback__)
|
Run tests with pytest
res = hook_impl.function(*args)
|
Run tests with pytest
item.session._setupstate.setup(item)
|
Run tests with pytest
raise exc
|
Run tests with pytest
col.setup()
|
Lint with flake8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Check import order with isort
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Check formatting with black
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Check typing with mypy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Check protobuf files match
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Lint with pylint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Lint with pylint:
aioesphomeapi/_frame_helper.py#L158
R0911: Too many return statements (7/6) (too-many-return-statements)
|
Lint with pylint:
aioesphomeapi/_frame_helper.py#L246
W1203: Use lazy % formatting in logging functions (logging-fstring-interpolation)
|
Lint with pylint:
aioesphomeapi/_frame_helper.py#L161
W0201: Attribute '_meshmesh_handshake' defined outside __init__ (attribute-defined-outside-init)
|
Run tests with pytest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|