Skip to content

Commit

Permalink
Update Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Jan 12, 2025
1 parent 2a317b7 commit af4733e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/structlog/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def __init__(self) -> None:
self.calls = []

def __repr__(self) -> str:
return f"<CapturingLogger with { len(self.calls) } call(s)>"
return f"<CapturingLogger with {len(self.calls)} call(s)>"

def __getattr__(self, name: str) -> Any:
"""
Expand Down

0 comments on commit af4733e

Please sign in to comment.