Skip to content

Commit 4f140da

Browse files
committed
fix: publishDiagnostics starts at 0 and newlines are counted correctly
1 parent 1e9a51f commit 4f140da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylsp/python_lsp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def _lint_text_document(self, doc_uri, workspace, is_saved):
394394
flatten(self._hook('pylsp_lint', doc_uri, is_saved=is_saved))
395395
)
396396

397-
def _lint_notebook_document(self, notebook_document, workspace): # pylint: disable=too-many-locals
397+
def _lint_notebook_document(self, notebook_document, workspace):
398398
"""
399399
Lint a notebook document.
400400

0 commit comments

Comments
 (0)