Skip to content

[pre-commit.ci] pre-commit autoupdate #105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ repos:
hooks:
- id: check-toml
- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
rev: v1.37.1
hooks:
- id: yamllint
args:
- -d
- "{extends: default, rules: {comments: {min-spaces-from-content: 1}, document-start: {present: false}, line-length: disable}}"
- repo: https://github.com/google/yamlfmt
rev: v0.14.0
rev: v0.16.0
hooks:
- id: yamlfmt
args:
Expand All @@ -58,14 +58,14 @@ repos:
hooks:
- id: pyupgrade
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.6
rev: v0.11.10
hooks:
- id: ruff
args:
- --fix
- id: ruff-format
# Dependency management
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.5.13
rev: 0.7.5
hooks:
- id: uv-lock
2 changes: 1 addition & 1 deletion src/drf_caching/sentinels.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __new__(
module_name: str | None = None,
):
name = str(name)
repr = str(repr) if repr else f'<{name.split(".")[-1]}>'
repr = str(repr) if repr else f"<{name.split('.')[-1]}>"
if not module_name:
parent_frame = _get_parent_frame()
module_name = (
Expand Down