Skip to content

Commit

Permalink
PEP484 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hackdna committed Nov 1, 2023
1 parent f72e815 commit 40b2c3b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions forest/oak/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import logging
import math
import os
from typing import Optional

from dateutil import tz
import numpy as np
Expand Down Expand Up @@ -418,9 +419,10 @@ def find_continuous_dominant_peaks(valid_peaks: np.ndarray, min_t: int,
return cont_peaks[:, :-1]


def run(study_folder: str, output_folder: str, tz_str: str = None,
frequency: Frequency = Frequency.DAILY, time_start: str = None,
time_end: str = None, users: list = None) -> None:
def run(study_folder: str, output_folder: str, tz_str: Optional[str] = None,
frequency: Frequency = Frequency.DAILY,
time_start: Optional[str] = None, time_end: Optional[str] = None,
users: Optional[list] = None) -> None:
"""Runs walking recognition and step counting algorithm over dataset.
Determine paths to input and output folders, set analysis time frames,
Expand Down

0 comments on commit 40b2c3b

Please sign in to comment.