Skip to content

Commit 9e431f2

Browse files
committed
Autoformat
1 parent 22e726a commit 9e431f2

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎examples/simpletrigger/simpletrigger/window.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import time
21
import datetime as dt
32

43
import schedule

‎orca_python/main.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,9 @@ def lookback(
286286
if td is None and n is None:
287287
raise ValueError("One of `td` and `n` should be provided")
288288

289-
algorithm._lookback_td = 0 if td is None else int(td.total_seconds() * 1e9) # need to be in nano seconds
289+
algorithm._lookback_td = (
290+
0 if td is None else int(td.total_seconds() * 1e9)
291+
) # need to be in nano seconds
290292
algorithm._lookback_n = 0 if n is None else n
291293

292294
return algorithm

0 commit comments

Comments
 (0)