Skip to content

Commit 8e715e3

Browse files
committed
Fix lint warnings
1 parent 1fd7028 commit 8e715e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python_packages/jupyter_lsp/jupyter_lsp/tests/test_virtual_documents_shadow.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import logging
2-
import stat
32
from pathlib import Path
43
from types import SimpleNamespace
54
from typing import List

python_packages/jupyter_lsp/jupyter_lsp/virtual_documents_shadow.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from concurrent.futures import ThreadPoolExecutor
33
from pathlib import Path
44
from shutil import rmtree
5+
from typing import List
56

67
from tornado.concurrent import run_on_executor
78
from tornado.gen import convert_yielded
@@ -111,7 +112,7 @@ def setup_shadow_filesystem(virtual_documents_uri: str):
111112
)
112113

113114
initialized = False
114-
failures = []
115+
failures: List[Exception] = []
115116

116117
shadow_filesystem = Path(file_uri_to_path(virtual_documents_uri))
117118

0 commit comments

Comments
 (0)