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
|
# the max to appears to work, but less than 0 causes
|
||||||
# a crash on the home app
|
# a crash on the home app
|
||||||
min_temp = max(min_temp, 0)
|
min_temp = max(min_temp, 0)
|
||||||
if min_temp > max_temp:
|
max_temp = max(max_temp, min_temp)
|
||||||
max_temp = min_temp
|
|
||||||
|
|
||||||
return min_temp, max_temp
|
return min_temp, max_temp
|
||||||
|
|
||||||
|
|
|
@ -77,8 +77,7 @@ class TVDataUpdateCoordinator(DataUpdateCoordinator):
|
||||||
if self._time
|
if self._time
|
||||||
else dt_util.now()
|
else dt_util.now()
|
||||||
)
|
)
|
||||||
if current_time > when:
|
when = max(when, current_time)
|
||||||
when = current_time
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
routedata: list[
|
routedata: list[
|
||||||
|
|
|
@ -7,14 +7,14 @@
|
||||||
|
|
||||||
-c homeassistant/package_constraints.txt
|
-c homeassistant/package_constraints.txt
|
||||||
-r requirements_test_pre_commit.txt
|
-r requirements_test_pre_commit.txt
|
||||||
astroid==3.0.3
|
astroid==3.1.0
|
||||||
coverage==7.4.3
|
coverage==7.4.3
|
||||||
freezegun==1.3.1
|
freezegun==1.3.1
|
||||||
mock-open==1.4.0
|
mock-open==1.4.0
|
||||||
mypy==1.8.0
|
mypy==1.8.0
|
||||||
pre-commit==3.6.2
|
pre-commit==3.6.2
|
||||||
pydantic==1.10.12
|
pydantic==1.10.12
|
||||||
pylint==3.0.4
|
pylint==3.1.0
|
||||||
pylint-per-file-ignores==1.3.2
|
pylint-per-file-ignores==1.3.2
|
||||||
pipdeptree==2.15.1
|
pipdeptree==2.15.1
|
||||||
pytest-asyncio==0.23.5
|
pytest-asyncio==0.23.5
|
||||||
|
|
Loading…
Reference in New Issue