Update pylint to 3.1.0 (#111392)

pull/111385/head
Marc Mueller 2024-02-25 19:01:20 +01:00 committed by GitHub
parent f155f1c102
commit 21ff8c8e03
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 6 deletions

View File

@ -839,8 +839,7 @@ def _get_temperature_range_from_state(
# the max to appears to work, but less than 0 causes
# a crash on the home app
min_temp = max(min_temp, 0)
if min_temp > max_temp:
max_temp = min_temp
max_temp = max(max_temp, min_temp)
return min_temp, max_temp

View File

@ -77,8 +77,7 @@ class TVDataUpdateCoordinator(DataUpdateCoordinator):
if self._time
else dt_util.now()
)
if current_time > when:
when = current_time
when = max(when, current_time)
try:
routedata: list[

View File

@ -7,14 +7,14 @@
-c homeassistant/package_constraints.txt
-r requirements_test_pre_commit.txt
astroid==3.0.3
astroid==3.1.0
coverage==7.4.3
freezegun==1.3.1
mock-open==1.4.0
mypy==1.8.0
pre-commit==3.6.2
pydantic==1.10.12
pylint==3.0.4
pylint==3.1.0
pylint-per-file-ignores==1.3.2
pipdeptree==2.15.1
pytest-asyncio==0.23.5