X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/d90297c77bab6e22831b05ffc099bfc709cc7785..d1aee5f7fa136b1f0a7d8dfc318af81009074070:/.vim/bundle/black/tests/data/cases/ignore_pyi.py diff --git a/.vim/bundle/black/tests/data/cases/ignore_pyi.py b/.vim/bundle/black/tests/data/cases/ignore_pyi.py new file mode 100644 index 0000000..4fae753 --- /dev/null +++ b/.vim/bundle/black/tests/data/cases/ignore_pyi.py @@ -0,0 +1,42 @@ +# flags: --pyi +def f(): # type: ignore + ... + +class x: # some comment + ... + +class y: + ... # comment + +# whitespace doesn't matter (note the next line has a trailing space and tab) +class z: + ... + +def g(): + # hi + ... + +def h(): + ... + # bye + +# output + +def f(): # type: ignore + ... + +class x: # some comment + ... + +class y: ... # comment + +# whitespace doesn't matter (note the next line has a trailing space and tab) +class z: ... + +def g(): + # hi + ... + +def h(): + ... + # bye