Skip to content

Commit

Permalink
run black
Browse files Browse the repository at this point in the history
  • Loading branch information
jepler committed Aug 5, 2024
1 parent 339383a commit 5946e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_ticks.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def ticks_ms() -> int:

def ticks_add(ticks: int, delta: int) -> int:
"Add a delta to a base number of ticks, performing wraparound at 2**29ms."
if delta <= -_TICKS_PERIOD/2 or delta >= _TICKS_PERIOD/2:
if delta <= -_TICKS_PERIOD / 2 or delta >= _TICKS_PERIOD / 2:
raise OverflowError("ticks interval overflow")
return (ticks + delta) % _TICKS_PERIOD

Expand Down

0 comments on commit 5946e83

Please sign in to comment.