This commit is contained in:
pre-commit-ci[bot] 2026-02-16 17:29:09 +00:00 committed by GitHub
commit 5cfe07edeb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 5 deletions

View file

@ -1,7 +1,7 @@
# See https://pre-commit.com for more information # See https://pre-commit.com for more information
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0 rev: v6.0.0
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
- id: end-of-file-fixer - id: end-of-file-fixer
@ -11,7 +11,7 @@ repos:
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version. # Ruff version.
rev: v0.11.12 rev: v0.15.1
hooks: hooks:
# Run the linter. # Run the linter.
- id: ruff - id: ruff

View file

@ -1,5 +1,3 @@
# ruff: noqa: UP007
from __future__ import annotations from __future__ import annotations
import warnings import warnings

View file

@ -1,4 +1,3 @@
# ruff: noqa: UP007
from __future__ import annotations from __future__ import annotations
from typing import TYPE_CHECKING, ClassVar, Optional from typing import TYPE_CHECKING, ClassVar, Optional