mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 01:08:12 +00:00
Update pylint to 3.2.4 (#120606)
This commit is contained in:
parent
516b9126b7
commit
fcfb580f0c
@ -58,7 +58,7 @@ class SolarLogConfigFlow(ConfigFlow, domain=DOMAIN):
|
||||
except SolarLogConnectionError:
|
||||
self._errors = {CONF_HOST: "cannot_connect"}
|
||||
return False
|
||||
except SolarLogError: # pylint: disable=broad-except
|
||||
except SolarLogError:
|
||||
self._errors = {CONF_HOST: "unknown"}
|
||||
return False
|
||||
finally:
|
||||
|
@ -14,7 +14,7 @@ mock-open==1.4.0
|
||||
mypy-dev==1.11.0a9
|
||||
pre-commit==3.7.1
|
||||
pydantic==1.10.17
|
||||
pylint==3.2.2
|
||||
pylint==3.2.4
|
||||
pylint-per-file-ignores==1.3.2
|
||||
pipdeptree==2.19.0
|
||||
pytest-asyncio==0.23.6
|
||||
|
@ -379,7 +379,7 @@ def async_mock_service(
|
||||
calls = []
|
||||
|
||||
@callback
|
||||
def mock_service_log(call): # pylint: disable=unnecessary-lambda
|
||||
def mock_service_log(call):
|
||||
"""Mock service call."""
|
||||
calls.append(call)
|
||||
if raise_exception is not None:
|
||||
|
@ -79,7 +79,6 @@ def get_mock_call_fixture(request: pytest.FixtureRequest):
|
||||
|
||||
if request.param == influxdb.API_VERSION_2:
|
||||
return lambda body, precision=None: v2_call(body, precision)
|
||||
# pylint: disable-next=unnecessary-lambda
|
||||
return lambda body, precision=None: call(body, time_precision=precision)
|
||||
|
||||
|
||||
|
@ -285,8 +285,6 @@ BAD_MESSAGE = {"_type": "unsupported", "tst": 1}
|
||||
BAD_JSON_PREFIX = "--$this is bad json#--"
|
||||
BAD_JSON_SUFFIX = "** and it ends here ^^"
|
||||
|
||||
# pylint: disable=len-as-condition
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def setup_comp(
|
||||
|
Loading…
x
Reference in New Issue
Block a user