Update pylint to 3.2.4 (#120606)

This commit is contained in:
Marc Mueller 2024-06-26 22:29:55 +02:00 committed by GitHub
parent 516b9126b7
commit fcfb580f0c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 3 additions and 6 deletions

View file

@ -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:

View file

@ -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

View file

@ -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:

View file

@ -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)

View file

@ -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(