diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4cb54f4..2078476 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ ci: autoupdate_commit_msg: "chore: auto update by pre-commit hooks" repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.3.5 + rev: v0.5.2 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/pyproject.toml b/pyproject.toml index a880011..b367b88 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,12 +49,13 @@ select = [ "RUF", # Ruff-specific rules ] ignore = [ - "E402", # module-import-not-at-top-of-file - "E501", # line-too-long - "UP037", # quoted-annotation - "RUF001", # ambiguous-unicode-character-string - "RUF002", # ambiguous-unicode-character-docstring - "RUF003", # ambiguous-unicode-character-comment + "E402", # module-import-not-at-top-of-file + "E501", # line-too-long + "UP037", # quoted-annotation + "RUF001", # ambiguous-unicode-character-string + "RUF002", # ambiguous-unicode-character-docstring + "RUF003", # ambiguous-unicode-character-comment + "ASYNC230", # blocking-open-call-in-async-function ] [tool.pyright]