Skip to content

Commit

Permalink
Remove unused type:ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
palfrey committed Apr 2, 2024
1 parent 7967e40 commit c0ec664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/ban_allowlist/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ async def allowlist_async_add_ban(
await original_async_add_ban(ban_manager, remote_addr)

ban_manager.async_add_ban = ( # type:ignore[method-assign]
allowlist_async_add_ban # type:ignore[assignment]
allowlist_async_add_ban
)

return True

0 comments on commit c0ec664

Please sign in to comment.