Skip to content

Commit

Permalink
fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
autinerd committed Jul 5, 2024
1 parent 291a24f commit 455a4f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/components/notify/test_legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ async def test_invalid_service(
"""Test service setup with an invalid service object or platform."""

def get_service(
hass, config, discovery_info=None
hass: HomeAssistant, config, discovery_info=None
) -> BaseNotificationService | None:
"""Return None for an invalid notify service."""
return None
Expand Down

0 comments on commit 455a4f5

Please sign in to comment.