Skip to content

Commit c38f287

Browse files
committed
Lint
1 parent 58ca97e commit c38f287

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

plugin/documents.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -484,8 +484,10 @@ def _on_hover_gutter_async(self, point: int) -> None:
484484
diagnostics_with_config = [] # type: List[Tuple[ClientConfig, Diagnostic]]
485485
max_severity_level = min(userprefs().show_diagnostics_severity_level, DiagnosticSeverity.Information)
486486
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+
)
489491
if diagnostics_with_config:
490492
diagnostics_with_config.sort(key=lambda d: diagnostic_severity(d[1]))
491493
content += '<div class="diagnostics">'

0 commit comments

Comments
 (0)