From 3326675b16fec2f2da8dad7259cd89efeaca7dd5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 2 Jul 2024 01:10:46 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks --- src/fix_lwjgl/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fix_lwjgl/__init__.py b/src/fix_lwjgl/__init__.py index adfb175..8fefa7f 100644 --- a/src/fix_lwjgl/__init__.py +++ b/src/fix_lwjgl/__init__.py @@ -289,7 +289,7 @@ async def download_file( ): raise OSError(f'"{filename}" does not exist according to "{url}"!') # Could have aiofiles dependency and fix this, but I would rather not. - with open(filepath, "wb") as sfile: # noqa: ASYNC101 # sync `open` + with open(filepath, "wb") as sfile: # sync `open` sfile.write(data) return filepath