From af4733e4a2a095911910a19a1a52333ec0fd9983 Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Sun, 12 Jan 2025 12:45:56 +0100 Subject: [PATCH] Update Ruff --- .pre-commit-config.yaml | 2 +- docs/conf.py | 2 +- src/structlog/testing.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1202728b..3ba36cf4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ ci: repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.6 + rev: v0.9.1 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/docs/conf.py b/docs/conf.py index fc28d61a..b4c06ffd 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -56,7 +56,7 @@ # General information about the project. project = "structlog" author = "Hynek Schlawack" -copyright = f"2013, { author }" +copyright = f"2013, {author}" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the diff --git a/src/structlog/testing.py b/src/structlog/testing.py index 35ad87dd..293c6184 100644 --- a/src/structlog/testing.py +++ b/src/structlog/testing.py @@ -177,7 +177,7 @@ def __init__(self) -> None: self.calls = [] def __repr__(self) -> str: - return f"" + return f"" def __getattr__(self, name: str) -> Any: """