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: ...
81 # Regression test for https://github.com/psf/black/issues/3129.
89 ] # Includes an formatted indentation.
94 # Regression test for https://github.com/psf/black/issues/2015.
107 # Regression test for https://github.com/psf/black/issues/3026.
110 if unformatted( args ):
119 # Regression test for https://github.com/psf/black/issues/2567.
124 print ( "This won't be formatted" )
125 print ( "This won't be formatted either" )
127 print("This will be formatted")
130 # Regression test for https://github.com/psf/black/issues/3184.
132 async def call(param):
139 print ( "This won't be formatted" )
141 elif param[0:4] in ("ZZZZ",):
142 print ( "This won't be formatted either" )
144 print("This will be formatted")
147 # Regression test for https://github.com/psf/black/issues/2985
148 class Named(t.Protocol):
151 def this_wont_be_formatted ( self ) -> str: ...
154 class Factory(t.Protocol):
155 def this_will_be_formatted(self, **kwargs) -> Named: