Update pylint to 3.1.0 (#111392)
parent
f155f1c102
commit
21ff8c8e03
|
@ -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
|
||||
|
||||
|
|
|
@ -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[
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue