This commit is contained in:
pre-commit-ci[bot] 2026-03-09 17:43:09 +00:00 committed by GitHub
commit 1b4d2c0870
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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
@ -11,7 +11,7 @@ repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.11.12
rev: v0.15.5
hooks:
# Run the linter.
- id: ruff

View file

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

View file

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