Skip to content

Commit

Permalink
Merge pull request #382 from dougiteixeira/dependabot/pip/ruff-0.8.2
Browse files Browse the repository at this point in the history
Bump ruff from 0.7.2 to 0.8.2
  • Loading branch information
dougiteixeira authored Dec 8, 2024
2 parents 754c05b + 9a6e83b commit 9259d83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions custom_components/proxmoxve/button.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,7 @@ async def async_setup_entry(
if (
(api_category := description.api_category)
and ProxmoxType.QEMU in api_category
or api_category is None
):
) or api_category is None:
buttons.append(
create_button(
coordinator=coordinator,
Expand Down Expand Up @@ -222,8 +221,7 @@ async def async_setup_entry(
if (
(api_category := description.api_category)
and ProxmoxType.LXC in api_category
or api_category is None
):
) or api_category is None:
buttons.append(
create_button(
coordinator=coordinator,
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ colorlog==6.9.0
homeassistant==2024.12.1
pip>=21.3.1
proxmoxer==2.1.0
ruff==0.7.2
ruff==0.8.2

0 comments on commit 9259d83

Please sign in to comment.