File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -484,8 +484,10 @@ def _on_hover_gutter_async(self, point: int) -> None:
484
484
diagnostics_with_config = [] # type: List[Tuple[ClientConfig, Diagnostic]]
485
485
max_severity_level = min (userprefs ().show_diagnostics_severity_level , DiagnosticSeverity .Information )
486
486
for sb , diagnostics in self .diagnostics_intersecting_async (self .view .line (point ))[0 ]:
487
- diagnostics_with_config .extend ((sb .session .config , diagnostic ) for diagnostic in diagnostics
488
- if diagnostic_severity (diagnostic ) <= max_severity_level )
487
+ diagnostics_with_config .extend (
488
+ (sb .session .config , diagnostic ) for diagnostic in diagnostics
489
+ if diagnostic_severity (diagnostic ) <= max_severity_level
490
+ )
489
491
if diagnostics_with_config :
490
492
diagnostics_with_config .sort (key = lambda d : diagnostic_severity (d [1 ]))
491
493
content += '<div class="diagnostics">'
You can’t perform that action at this time.
0 commit comments