Skip to content

Commit 3cfcb2b

Browse files
committed
nitpick
1 parent 198bacf commit 3cfcb2b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plugwise_usb/constants.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
UTF8: Final = "utf-8"
1818

1919
# Value limits
20-
MAX_UINT_2: Final = 255
21-
MAX_UINT_4: Final = 65535
20+
MAX_UINT_2: Final = 255 # 8-bit unsigned integer max
21+
MAX_UINT_4: Final = 65535 # 16-bit unsigned integer max
2222

2323
# Time
2424
DAY_IN_HOURS: Final = 24

plugwise_usb/helpers/cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def _get_writable_os_dir(self) -> str:
8080
return os_path_join(os_path_expand_user("~"), CACHE_DIR)
8181

8282
async def write_cache(self, data: dict[str, str], rewrite: bool = False) -> None:
83-
""" "Save information to cache file."""
83+
"""Save information to cache file."""
8484
if not self._initialized:
8585
raise CacheError(
8686
f"Unable to save cache. Initialize cache file '{self._file_name}' first."

0 commit comments

Comments
 (0)