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.
14 """This is a docstring with
15 some lines of text here
21 '''This is another docstring
22 with more lines of text
28 '''"This" is a string with some
34 '''Indentation with tabs
49 Lorem ipsum dolor sit amet.
51 Consectetur adipiscing elit:
52 - sed do eiusmod tempor incididunt ut labore
54 - enim ad minim veniam
55 - quis nostrud exercitation ullamco laboris nisi
56 - aliquip ex ea commodo consequat
63 These lines are indented in a way that does not
71 This has a shallow indent
72 - But some lines are deeper
73 - And the closing quote is too deep
79 """But with a newline after it!
105 def multiline_whitespace():
114 def oneline_whitespace():
126 def believe_it_or_not_this_is_in_the_py_stdlib(): '''
130 def ignored_docstring():
134 def single_line_docstring_with_whitespace():
135 """ This should be stripped """
137 def docstring_with_inline_tabs_and_space_indentation():
141 tab at start of line and then a tab separated value
142 multiple tabs at the beginning and inline
143 mixed tabs and spaces at beginning. next line has mixed tabs and spaces only.
145 line ends with some tabs
149 def docstring_with_inline_tabs_and_tab_indentation():
153 tab at start of line and then a tab separated value
154 multiple tabs at the beginning and inline
155 mixed tabs and spaces at beginning. next line has mixed tabs and spaces only.
157 line ends with some tabs
162 def backslash_space():
166 def multiline_backslash_1():
172 def multiline_backslash_2():
177 def multiline_backslash_3():
179 already escaped \\ '''
182 def my_god_its_full_of_stars_1():
183 "I'm sorry Dave\u2001"
186 # the space below is actually a \u2001, removed in output
187 def my_god_its_full_of_stars_2():
191 def docstring_almost_at_line_limit():
192 """long docstring................................................................."""
195 def docstring_almost_at_line_limit2():
196 """long docstring.................................................................
198 ..................................................................................
202 def docstring_at_line_limit():
203 """long docstring................................................................"""
206 def multiline_docstring_at_line_limit():
207 """first line-----------------------------------------------------------------------
209 second line----------------------------------------------------------------------"""
212 def stable_quote_normalization_with_immediate_inner_single_quote(self):
215 <text here, since without another non-empty line black is stable>
234 """This is a docstring with
235 some lines of text here
241 """This is another docstring
242 with more lines of text
248 '''"This" is a string with some
254 """Indentation with tabs
270 Lorem ipsum dolor sit amet.
272 Consectetur adipiscing elit:
273 - sed do eiusmod tempor incididunt ut labore
274 - dolore magna aliqua
275 - enim ad minim veniam
276 - quis nostrud exercitation ullamco laboris nisi
277 - aliquip ex ea commodo consequat
284 These lines are indented in a way that does not
292 This has a shallow indent
293 - But some lines are deeper
294 - And the closing quote is too deep
300 """But with a newline after it!"""
324 def multiline_whitespace():
328 def oneline_whitespace():
340 def believe_it_or_not_this_is_in_the_py_stdlib():
345 def ignored_docstring():
350 def single_line_docstring_with_whitespace():
351 """This should be stripped"""
354 def docstring_with_inline_tabs_and_space_indentation():
358 tab at start of line and then a tab separated value
359 multiple tabs at the beginning and inline
360 mixed tabs and spaces at beginning. next line has mixed tabs and spaces only.
362 line ends with some tabs
366 def docstring_with_inline_tabs_and_tab_indentation():
370 tab at start of line and then a tab separated value
371 multiple tabs at the beginning and inline
372 mixed tabs and spaces at beginning. next line has mixed tabs and spaces only.
374 line ends with some tabs
379 def backslash_space():
383 def multiline_backslash_1():
389 def multiline_backslash_2():
394 def multiline_backslash_3():
396 already escaped \\"""
399 def my_god_its_full_of_stars_1():
400 "I'm sorry Dave\u2001"
403 # the space below is actually a \u2001, removed in output
404 def my_god_its_full_of_stars_2():
408 def docstring_almost_at_line_limit():
409 """long docstring................................................................."""
412 def docstring_almost_at_line_limit2():
413 """long docstring.................................................................
415 ..................................................................................
419 def docstring_at_line_limit():
420 """long docstring................................................................"""
423 def multiline_docstring_at_line_limit():
424 """first line-----------------------------------------------------------------------
426 second line----------------------------------------------------------------------"""
429 def stable_quote_normalization_with_immediate_inner_single_quote(self):
432 <text here, since without another non-empty line black is stable>