Skip to content

Commit

Permalink
[pre-commit.ci] Fixing issues with pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 24, 2024
1 parent 386ee56 commit 9b2f76f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions topofileformats/asd.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,9 @@ def load_asd(file_path: Path, channel: str):
version please either look into the `read_header_file_version_x` functions or print the keys too see what metadata
is available.
"""

# Binary mode open does not take an encoding argument
# pylint: disable=unspecified-encoding
with Path.open(file_path, "rb") as open_file:

file_version = read_file_version(open_file)

if file_version == 0:
Expand Down

0 comments on commit 9b2f76f

Please sign in to comment.