wwvb 3.0.8__py3-none-any.whl → 4.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
uwwvb.py CHANGED
@@ -2,6 +2,8 @@
2
2
  #
3
3
  # SPDX-License-Identifier: GPL-3.0-only
4
4
 
5
+ # ruff: noqa: C405 PYI024 PLR2004 FBT001 FBT002
6
+
5
7
  """Implementation of a WWVB state machine & decoder for resource-constrained systems"""
6
8
 
7
9
  from __future__ import annotations
@@ -30,7 +32,8 @@ class WWVBDecoder:
30
32
  def update(self, value: int) -> list[int] | None:
31
33
  """Update the _state machine when a new symbol is received.
32
34
 
33
- If a possible complete _minute is received, return it; otherwise, return None"""
35
+ If a possible complete _minute is received, return it; otherwise, return None
36
+ """
34
37
  result = None
35
38
  if self.state == 1:
36
39
  self.minute = []