Skip to content

Commit 98bf677

Browse files
committed
fix CI
1 parent 7ceb7da commit 98bf677

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pylsp_ruff/ruff_lint.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import json
22
import logging
33
from pathlib import PurePath
4-
from subprocess import PIPE, Popen, SubprocessError
4+
from subprocess import PIPE, Popen
55

66
from pylsp import hookimpl, lsp
77
from pylsp._utils import find_parents
@@ -102,6 +102,8 @@ def run_ruff_lint(ruff_executable: str, document: Document, arguments: list) ->
102102
# see https://github.com/charliermarsh/ruff/issues/593
103103
log.error(f"Error running {ruff_executable}: {e}")
104104

105+
return ""
106+
105107

106108
def parse_ruff_stdout(stdout: str) -> list:
107109
"""

0 commit comments

Comments
 (0)