From 990b0d1ee4d54567abf3311e5f016e32407fda81 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 3 Jul 2023 12:18:25 -0400 Subject: [PATCH 1/2] chore: ruff moved to astral-sh --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e41881938..745f684fc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,8 +24,8 @@ repos: hooks: - id: black -- repo: https://github.com/charliermarsh/ruff-pre-commit - rev: "v0.0.270" +- repo: https://github.com/astral-sh/ruff-pre-commit + rev: "v0.0.275" hooks: - id: ruff args: ["--fix", "--show-fixes"] From 158fb554ff14309ae011a5e815d60fc4bfbcb776 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 3 Jul 2023 18:34:34 -0400 Subject: [PATCH 2/2] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index aeaa09855..4921a7ab1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -192,7 +192,7 @@ extend-ignore = [ "PLR", "PT004", "PT011", # TODO: add match parameter - "PLC1901", # Simplify == "", might be risky + "RUF012", # ClassVar required if mutable ] target-version = "py37" exclude = ["docs/conf.py"]