]> git.madduck.net Git - etc/vim.git/blobdiff - tests/data/simple_cases/return_annotation_brackets.py

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Draft for Black 2023 stable style (#3418)
[etc/vim.git] / tests / data / simple_cases / return_annotation_brackets.py
similarity index 93%
rename from tests/data/preview/return_annotation_brackets.py
rename to tests/data/simple_cases/return_annotation_brackets.py
index 27760bd51d7579fe80cd6fd41fc1949c989f6192..265c30220d8c8e5c9ed22a0ce47552a1ad9cef49 100644 (file)
@@ -87,10 +87,6 @@ def foo() -> tuple[loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
 def foo() -> tuple[int, int, int,]:
     return 2
 
-# Long string example
-def frobnicate() -> "ThisIsTrulyUnreasonablyExtremelyLongClassName | list[ThisIsTrulyUnreasonablyExtremelyLongClassName]":
-    pass
-
 # output
 # Control
 def double(a: int) -> int:
@@ -212,11 +208,3 @@ def foo() -> (
     ]
 ):
     return 2
-
-
-# Long string example
-def frobnicate() -> (
-    "ThisIsTrulyUnreasonablyExtremelyLongClassName |"
-    " list[ThisIsTrulyUnreasonablyExtremelyLongClassName]"
-):
-    pass