Skip to content

Commit 0ffb426

Browse files
committed
Bump version to 1.5.3
Blacked all files
1 parent 48cd856 commit 0ffb426

31 files changed

Lines changed: 42 additions & 14 deletions

examples/brick_master.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ async def run_master_extension_wifi(brick: BrickMaster) -> None:
9090
# The mac and bssid are stored as tuples of int. We will replace them with the more common hex notation for
9191
# better readability, then we will recreate the named tuple.
9292
new_status["mac_address"] = []
93-
new_status[
94-
"mac_address"
95-
] = "{:02x}:{:02x}:{:02x}:{:02x}:{:02x}:{:02x}".format( # pylint: disable=consider-using-f-string
96-
*new_status["mac_address"]
93+
new_status["mac_address"] = (
94+
"{:02x}:{:02x}:{:02x}:{:02x}:{:02x}:{:02x}".format( # pylint: disable=consider-using-f-string
95+
*new_status["mac_address"]
96+
)
9797
)
9898
new_status["bssid"] = "{:02x}:{:02x}:{:02x}:{:02x}:{:02x}:{:02x}".format( # pylint: disable=consider-using-f-string
9999
*new_status["bssid"]

tinkerforge_async/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
([original Python bindings](https://www.tinkerforge.com/en/doc/Software/API_Bindings_Python.html)) using Python 3
44
asyncio.
55
"""
6+
67
from ._version import __version__
78
from .device_factory import device_factory
89
from .ip_connection import IPConnectionAsync

tinkerforge_async/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# pylint: disable=missing-module-docstring
2-
__version__ = "1.5.2"
2+
__version__ = "1.5.3"

tinkerforge_async/async_event_bus.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
A lightweight event bus for the asyncio framework, that relies on asynchronous
33
generators to deliver messages.
44
"""
5+
56
import asyncio
67
from typing import Any, AsyncGenerator
78

tinkerforge_async/brick_master.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
implemented using Python AsyncIO. It does the low-level communication with the Tinkerforge ip connection and also
44
handles conversion of raw units to SI units.
55
"""
6+
67
# pylint: disable=too-many-lines
78
from __future__ import annotations
89

tinkerforge_async/bricklet_ambient_light_v2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
(https://www.tinkerforge.com/en/doc/Hardware/Bricklets/Ambient_Light_V2.html) implemented using Python asyncio. It does
44
the low-level communication with the Tinkerforge ip connection and also handles conversion of raw units to SI units.
55
"""
6+
67
# pylint: disable=duplicate-code # Many sensors of different generations have a similar API
78
from __future__ import annotations
89

tinkerforge_async/bricklet_ambient_light_v3.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
(https://www.tinkerforge.com/en/doc/Hardware/Bricklets/Ambient_Light_V3.html) implemented using Python asyncio. It does
44
the low-level communication with the Tinkerforge ip connection and also handles conversion of raw units to SI units.
55
"""
6+
67
# pylint: disable=duplicate-code # Many sensors of different generations have a similar API
78
from __future__ import annotations
89

tinkerforge_async/bricklet_analog_in.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
implemented using Python asyncio. It does the low-level communication with the Tinkerforge ip connection and also
44
handles conversion of raw units to SI units.
55
"""
6+
67
# pylint: disable=duplicate-code # Many sensors of different generations have a similar API
78
from __future__ import annotations
89

tinkerforge_async/bricklet_barometer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
implemented using Python AsyncIO. It does the low-level communication with the Tinkerforge ip connection and also
44
handles conversion of raw units to SI units.
55
"""
6+
67
# pylint: disable=duplicate-code # Many sensors of different generations have a similar API
78
from __future__ import annotations
89

tinkerforge_async/bricklet_barometer_v2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
(https://www.tinkerforge.com/en/doc/Hardware/Bricklets/Barometer_V2.html) implemented using Python asyncio. It does the
44
low-level communication with the Tinkerforge ip connection and also handles conversion of raw units to SI units.
55
"""
6+
67
# pylint: disable=duplicate-code # Many sensors of different generations have a similar API
78
from __future__ import annotations
89

0 commit comments

Comments
 (0)