X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/d90297c77bab6e22831b05ffc099bfc709cc7785:/.vim/bundle/black/tests/data/force_pyi.py..refs/heads/master:/.vim/bundle/black/tests/data/miscellaneous/static/gitweb.js diff --git a/.vim/bundle/black/tests/data/force_pyi.py b/.vim/bundle/black/tests/data/force_pyi.py deleted file mode 100644 index 07ed93c..0000000 --- a/.vim/bundle/black/tests/data/force_pyi.py +++ /dev/null @@ -1,65 +0,0 @@ -from typing import Union - -@bird -def zoo(): ... - -class A: ... -@bar -class B: - def BMethod(self) -> None: ... - @overload - def BMethod(self, arg : List[str]) -> None: ... - -class C: ... -@hmm -class D: ... -class E: ... - -@baz -def foo() -> None: - ... - -class F (A , C): ... -def spam() -> None: ... - -@overload -def spam(arg: str) -> str: ... - -var : int = 1 - -def eggs() -> Union[str, int]: ... - -# output - -from typing import Union - -@bird -def zoo(): ... - -class A: ... - -@bar -class B: - def BMethod(self) -> None: ... - @overload - def BMethod(self, arg: List[str]) -> None: ... - -class C: ... - -@hmm -class D: ... - -class E: ... - -@baz -def foo() -> None: ... - -class F(A, C): ... - -def spam() -> None: ... -@overload -def spam(arg: str) -> str: ... - -var: int = 1 - -def eggs() -> Union[str, int]: ...