From 92ec3a8df8a7ce2f478e45e4aaf83e2df528936d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 20 Aug 2024 07:52:08 +0200 Subject: [PATCH] Bump: pre-commit autoupdate (#4378) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Claus Holbech --- .pre-commit-config.yaml | 2 +- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9231e4e5fab..bdf241ce9ea 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -75,7 +75,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.5.7 + rev: v0.6.1 hooks: # Run the linter. - id: ruff diff --git a/pyproject.toml b/pyproject.toml index c2bf7ee9541..37c2053fa0e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,6 +54,7 @@ ignore = [ "PLR2004", # Magic value used in comparison - TODO: Evaluate "DTZ005", # `datetime.datetime.now()` called without a `tz` argument - TODO: Improve code "UP038", # UP038 Use `X | Y` in `isinstance` call instead of `(X, Y)` - Why would I? It impacts performance. + "ASYNC109",# async-function-with-timeout: Our async functions call several other async functions and we need each of those calls to be governed by the configurable timeout. ] [tool.ruff.lint.pydocstyle]