Skip to content

Commit

Permalink
Merge pull request #11 from orcasound/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
valentina-s authored Feb 22, 2023
2 parents ba7a016 + d368c0c commit d1e88e7
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repos:
args: ["--autofix", "--indent=2", "--no-sort-keys"]

- repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.1.0
hooks:
- id: black

Expand Down
1 change: 0 additions & 1 deletion src/orca_hls_utils/DateRangeHLSStream.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ def __init__(
self.current_clip_start_time = self.start_unix_time

def get_next_clip(self, current_clip_name=None):

# Get current folder
current_folder = int(self.valid_folders[self.current_folder_index])
(
Expand Down
1 change: 0 additions & 1 deletion src/orca_hls_utils/HLSStream.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ def __init__(self, stream_base, polling_interval, wav_dir):

# this function grabs audio from last_end_time to
def get_next_clip(self, current_clip_end_time):

# if current time < current_clip_end_time, sleep for the difference
now = datetime.utcnow()

Expand Down
1 change: 0 additions & 1 deletion src/orca_hls_utils/datetime_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ def add_interval_to_unix_time(unix_time, interval_in_seconds):


def get_unix_time_from_datetime_utc(dt_utc):

dt_aware = timezone("UTC").localize(dt_utc)
dt_pst = dt_aware.astimezone(timezone("US/Pacific"))

Expand Down

0 comments on commit d1e88e7

Please sign in to comment.