Debian Codegraph @

tests/data/cases/line_ranges_diff_edge_case.py

raw
1 # flags: --line-ranges=10-11
2 # NOTE: If you need to modify this file, pay special attention to the --line-ranges=
3 # flag above as it's formatting specifically these lines.
4
5 # Reproducible example for https://github.com/psf/black/issues/4033.
6 # This can be fixed in the future if we use a better diffing algorithm, or make Black
7 # perform formatting in a single pass.
8
9 print ( "format me" )
10 print ( "format me" )
11 print ( "format me" )
12 print ( "format me" )
13 print ( "format me" )
14
15 # output
16 # flags: --line-ranges=10-11
17 # NOTE: If you need to modify this file, pay special attention to the --line-ranges=
18 # flag above as it's formatting specifically these lines.
19
20 # Reproducible example for https://github.com/psf/black/issues/4033.
21 # This can be fixed in the future if we use a better diffing algorithm, or make Black
22 # perform formatting in a single pass.
23
24 print ( "format me" )
25 print("format me")
26 print("format me")
27 print("format me")
28 print("format me")