From 9b2f76fe0f76c424abd8b0aa7f0a8cc17299f887 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 24 Jan 2024 09:38:22 +0000 Subject: [PATCH] [pre-commit.ci] Fixing issues with pre-commit --- topofileformats/asd.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/topofileformats/asd.py b/topofileformats/asd.py index c4053a0..b8640b7 100644 --- a/topofileformats/asd.py +++ b/topofileformats/asd.py @@ -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: