Skip to content

Commit

Permalink
Adapt to mypy 1.8.0 (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shutgun authored Dec 26, 2023
1 parent a973af6 commit b57eec0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions devolo_plc_api/device_api/deviceapi.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class DeviceApi(Protobuf):
async def async_start_firmware_update(self) -> bool: ...
async def async_get_wifi_connected_station(self) -> list[WifiConnectedStationsGet.ConnectedStationInfo]: ...
async def async_get_wifi_guest_access(self) -> WifiGuestAccessGet: ...
async def async_set_wifi_guest_access(self, enable: bool, duration: int = ...) -> bool: ...
async def async_set_wifi_guest_access(self, enable: bool, duration: int = 0) -> bool: ...
async def async_get_wifi_neighbor_access_points(self) -> list[WifiNeighborAPsGet.NeighborAPInfo]: ...
async def async_start_wps(self) -> bool: ...
def get_led_setting(self) -> bool: ...
Expand All @@ -44,6 +44,6 @@ class DeviceApi(Protobuf):
def start_firmware_update(self) -> bool: ...
def get_wifi_connected_station(self) -> list[WifiConnectedStationsGet.ConnectedStationInfo]: ...
def get_wifi_guest_access(self) -> WifiGuestAccessGet: ...
def set_wifi_guest_access(self, enable: bool, duration: int = ...) -> bool: ...
def set_wifi_guest_access(self, enable: bool, duration: int = 0) -> bool: ...
def get_wifi_neighbor_access_points(self) -> list[WifiNeighborAPsGet.NeighborAPInfo]: ...
def start_wps(self) -> bool: ...
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ urls = {changelog = "https://github.com/2Fake/devolo_plc_api/docs/CHANGELOG.md",
[project.optional-dependencies]
dev = [
"pre-commit",
"mypy>=1.7.1"
"mypy>=1.8.0"
]
test = [
"pytest",
Expand Down

0 comments on commit b57eec0

Please sign in to comment.