From 1963e06031ff841bef1199a504f44b670cb79e81 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 3 Jul 2023 22:54:05 -0400 Subject: [PATCH] chore: ruff moved to astral-sh (#652) * chore: ruff moved to astral-sh * Update pyproject.toml --- .pre-commit-config.yaml | 4 ++-- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 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"] 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"]