@@ -69,7 +69,8 @@ def setup_page(self):
69
69
"in a file." )
70
70
)
71
71
scroll_past_end_box = newcb (
72
- _ ("Allow scrolling past file end" ), 'scroll_past_end' )
72
+ _ ("Allow scrolling past file end" ), 'scroll_past_end'
73
+ )
73
74
74
75
interface_layout = QVBoxLayout ()
75
76
interface_layout .addWidget (showtabbar_box )
@@ -81,7 +82,8 @@ def setup_page(self):
81
82
# -- Helpers group
82
83
helpers_group = QGroupBox (_ ("Helpers" ))
83
84
showindentguides_box = newcb (
84
- _ ("Show indent guides" ), 'indent_guides' )
85
+ _ ("Show indent guides" ), 'indent_guides'
86
+ )
85
87
showcodefolding_box = newcb (
86
88
_ ("Show code folding" ),
87
89
'code_folding' ,
@@ -115,9 +117,11 @@ def setup_page(self):
115
117
# -- Highlight group
116
118
highlight_group = QGroupBox (_ ("Highlight" ))
117
119
currentline_box = newcb (
118
- _ ("Highlight current line" ), 'highlight_current_line' )
120
+ _ ("Highlight current line" ), 'highlight_current_line'
121
+ )
119
122
currentcell_box = newcb (
120
- _ ("Highlight current cell" ), 'highlight_current_cell' )
123
+ _ ("Highlight current cell" ), 'highlight_current_cell'
124
+ )
121
125
occurrence_box = newcb (
122
126
_ ("Highlight occurrences of selected text after" ),
123
127
'occurrence_highlighting' ,
@@ -136,9 +140,11 @@ def setup_page(self):
136
140
occurrence_box .checkbox .toggled .connect (
137
141
occurrence_spin .slabel .setEnabled )
138
142
occurrence_spin .spinbox .setEnabled (
139
- self .get_option ('occurrence_highlighting' ))
143
+ self .get_option ('occurrence_highlighting' )
144
+ )
140
145
occurrence_spin .slabel .setEnabled (
141
- self .get_option ('occurrence_highlighting' ))
146
+ self .get_option ('occurrence_highlighting' )
147
+ )
142
148
143
149
occurrence_glayout = QGridLayout ()
144
150
occurrence_glayout .addWidget (occurrence_box , 0 , 0 )
@@ -365,8 +371,8 @@ def enable_tabwidth_spin(index):
365
371
autosave_checkbox = newcb (
366
372
_ ('Automatically save a backup copy of unsaved files' ),
367
373
'autosave_enabled' ,
368
- tip = _ ("If Spyder quits unexpectedly, "
369
- "it will offer to recover them on next launch" ),
374
+ tip = _ ("If Spyder quits unexpectedly, it will offer to recover "
375
+ "them on next launch" ),
370
376
)
371
377
autosave_spinbox = self .create_spinbox (
372
378
_ ('Autosave interval: ' ),
0 commit comments