Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolCat467 authored Jul 2, 2024
2 parents 4a794c9 + 5e97101 commit 8e201a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ repos:
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.10
rev: v0.5.0
hooks:
- id: ruff
types: [file]
Expand Down
2 changes: 1 addition & 1 deletion src/fix_lwjgl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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: # noqa: ASYNC230 # sync `open`
sfile.write(data)
return filepath

Expand Down

0 comments on commit 8e201a3

Please sign in to comment.