mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Add return type to tests without arguments (#87613)
* Add return type to tests without arguments * Black * Cancel fixture amends
This commit is contained in:
@@ -7,7 +7,7 @@ import pytest
|
||||
from homeassistant.backports.enum import StrEnum
|
||||
|
||||
|
||||
def test_strenum():
|
||||
def test_strenum() -> None:
|
||||
"""Test StrEnum."""
|
||||
|
||||
class TestEnum(StrEnum):
|
||||
|
||||
Reference in New Issue
Block a user