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.
1 # Regression test for https://github.com/psf/black/issues/3129.
9 ] # Includes an formatted indentation.
14 # Regression test for https://github.com/psf/black/issues/2015.
27 # Regression test for https://github.com/psf/black/issues/3026.
30 if unformatted( args ):
39 # Regression test for https://github.com/psf/black/issues/2567.
44 print ( "This won't be formatted" )
45 print ( "This won't be formatted either" )
47 print ( "This will be formatted" )
50 # Regression test for https://github.com/psf/black/issues/3184.
52 async def call(param):
59 print ( "This won't be formatted" )
61 elif param[0:4] in ("ZZZZ",):
62 print ( "This won't be formatted either" )
64 print ( "This will be formatted" )
67 # Regression test for https://github.com/psf/black/issues/2985.
68 class Named(t.Protocol):
71 def this_wont_be_formatted ( self ) -> str: ...
73 class Factory(t.Protocol):
74 def this_will_be_formatted ( self, **kwargs ) -> Named: ...
78 # Regression test for https://github.com/psf/black/issues/3436.
90 # Regression test for https://github.com/psf/black/issues/3129.
98 ] # Includes an formatted indentation.
103 # Regression test for https://github.com/psf/black/issues/2015.
116 # Regression test for https://github.com/psf/black/issues/3026.
119 if unformatted( args ):
128 # Regression test for https://github.com/psf/black/issues/2567.
133 print ( "This won't be formatted" )
134 print ( "This won't be formatted either" )
136 print("This will be formatted")
139 # Regression test for https://github.com/psf/black/issues/3184.
141 async def call(param):
148 print ( "This won't be formatted" )
150 elif param[0:4] in ("ZZZZ",):
151 print ( "This won't be formatted either" )
153 print("This will be formatted")
156 # Regression test for https://github.com/psf/black/issues/2985.
157 class Named(t.Protocol):
160 def this_wont_be_formatted ( self ) -> str: ...
163 class Factory(t.Protocol):
164 def this_will_be_formatted(self, **kwargs) -> Named:
170 # Regression test for https://github.com/psf/black/issues/3436.