We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2867a45 commit 66fd3a4Copy full SHA for 66fd3a4
pylsp_isort/plugin.py
@@ -44,9 +44,12 @@ def pylsp_format_document(
44
45
46
@hookimpl(hookwrapper=True)
47
-def pylsp_format_range(config: Config, document: Document, range: Range) -> Generator:
+def pylsp_format_range(
48
+ config: Config, workspace: Workspace, document: Document, range: Range
49
+) -> Generator:
50
outcome = yield
- _format(outcome, config, document, range)
51
+ with workspace.report_progress("format: isort"):
52
+ _format(outcome, config, document, range)
53
54
55
def _format(
0 commit comments