From 15ac18049f56e4a8dd4f4ae81c066901573b62a9 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Thu, 14 Nov 2024 16:28:43 +0100 Subject: backend/lint: Implement pyupgrade suggestions --- src/hircine/scraper/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hircine/scraper/utils.py b/src/hircine/scraper/utils.py index d3fa6d6..61c7d14 100644 --- a/src/hircine/scraper/utils.py +++ b/src/hircine/scraper/utils.py @@ -52,7 +52,7 @@ def open_archive_file(archive, member, check_sidecar=True): # pragma: no cover sidecar = f"{archive.path}.{member}" if os.path.exists(sidecar): - with open(sidecar, "r") as file: + with open(sidecar) as file: yield file return -- cgit v1.2.3-2-gb3c3