From 5298b314e3224ebd517e052642183d8bf9a0f6d8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 24 Aug 2021 23:06:19 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 2 +- strawberry/utils/typing.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3d2cde783d..19a244ec83 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -128,4 +128,4 @@ include = ["strawberry"] exclude = ["**/__pycache__",] reportMissingImports = true reportMissingTypeStubs = false -pythonVersion = "3.7" \ No newline at end of file +pythonVersion = "3.7" diff --git a/strawberry/utils/typing.py b/strawberry/utils/typing.py index 9d3047e689..7bde4ba971 100644 --- a/strawberry/utils/typing.py +++ b/strawberry/utils/typing.py @@ -1,5 +1,5 @@ -from collections import Callable import typing +from collections import Callable from collections.abc import AsyncGenerator from typing import Any, Tuple, Type, TypeVar, Union @@ -105,4 +105,4 @@ def __dataclass_transform__( kw_only_default: bool = False, field_descriptors: Tuple[Union[type, Callable[..., Any]], ...] = (()), ) -> Callable[[_T], _T]: - return lambda a: a \ No newline at end of file + return lambda a: a