Debian Codegraph @

tests/data/cases/line_ranges_indentation.py

raw
1 # flags: --line-ranges=5-5
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 if cond1:
5 print("first")
6 if cond2:
7 print("second")
8 else:
9 print("else")
10
11 if another_cond:
12 print("will not be changed")
13
14 # output
15
16 # flags: --line-ranges=5-5
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 if cond1:
20 print("first")
21 if cond2:
22 print("second")
23 else:
24 print("else")
25
26 if another_cond:
27 print("will not be changed")