Upgrade black to 21.4b0 and reformat (#5250)

This introduces newlines before decorators.
This commit is contained in:
Sebastian Rittau
2021-04-26 13:58:27 +02:00
committed by GitHub
parent 48b060cfa0
commit 45916045c8
18 changed files with 19 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ from typing import Any, Callable, Dict, Iterable, Optional, Tuple, TypeVar, over
_T = TypeVar("_T")
_S = TypeVar("_S")
@overload
def reduce(function: Callable[[_T, _T], _T], sequence: Iterable[_T]) -> _T: ...
@overload

View File

@@ -5,6 +5,7 @@ _AnyCallable = Callable[..., Any]
_T = TypeVar("_T")
_S = TypeVar("_S")
@overload
def reduce(function: Callable[[_T, _T], _T], sequence: Iterable[_T]) -> _T: ...
@overload

View File

@@ -38,6 +38,7 @@ _T3 = TypeVar("_T3")
_T4 = TypeVar("_T4")
_T5 = TypeVar("_T5")
_T6 = TypeVar("_T6")
@overload
def imap(func: Callable[[_T1], _S], iter1: Iterable[_T1]) -> Iterator[_S]: ...
@overload