[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-06-23 20:57:58 +00:00
parent 4354bae714
commit bb0bc23569
2 changed files with 19 additions and 20 deletions

View File

@ -1,32 +1,32 @@
# mypy: allow-untyped-defs # mypy: allow-untyped-defs
from __future__ import annotations from __future__ import annotations
from collections.abc import Collection
from collections.abc import Sized
from decimal import Decimal
import math import math
from numbers import Complex
import pprint import pprint
import re import re
from collections.abc import Collection, Sized
from decimal import Decimal
from numbers import Complex
from types import TracebackType from types import TracebackType
from typing import ( from typing import Any
TYPE_CHECKING, from typing import Callable
Any, from typing import cast
Callable, from typing import ContextManager
ContextManager, from typing import final
Mapping, from typing import Mapping
Pattern, from typing import overload
Sequence, from typing import Pattern
Tuple, from typing import Sequence
Type, from typing import Tuple
TypeVar, from typing import Type
cast, from typing import TYPE_CHECKING
final, from typing import TypeVar
overload,
)
import _pytest._code import _pytest._code
from _pytest.outcomes import fail from _pytest.outcomes import fail
if TYPE_CHECKING: if TYPE_CHECKING:
from numpy import ndarray from numpy import ndarray

View File

@ -6,7 +6,6 @@ import sys
from _pytest.outcomes import Failed from _pytest.outcomes import Failed
from _pytest.pytester import Pytester from _pytest.pytester import Pytester
import pytest import pytest