File tree Expand file tree Collapse file tree 5 files changed +11
-4
lines changed
python_packages/jupyter_lsp/jupyter_lsp/specs Expand file tree Collapse file tree 5 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -295,6 +295,11 @@ Completes Correctly With R Double And Triple Colon
295
295
[Setup] Prepare File for Editing R completion completion.R
296
296
Place Cursor In File Editor At 2 7
297
297
Wait Until Fully Initialized
298
+ # normally the completion adapter taking time to initialise is not a problem
299
+ # but because the token-based completion fallback would break our test example
300
+ # if it kicked off we try to avoid it by adding some delay
301
+ # TODO remove sleep after migrating to JupyterLab 4.0 native adapters.
302
+ Sleep 2s Workaround completion adapter taking some time to initialize
298
303
Trigger Completer
299
304
Completer Should Suggest .print.via.format
300
305
Select Completer Suggestion .print.via.format
@@ -319,6 +324,8 @@ Shows Documentation With CompletionItem Resolve
319
324
[Setup] Prepare File for Editing R completion completion.R
320
325
Place Cursor In File Editor At 8 7
321
326
Wait Until Fully Initialized
327
+ # TODO remove sleep after migrating to JupyterLab 4.0 native adapters.
328
+ Sleep 2s Workaround completion adapter taking some time to initialize
322
329
Trigger Completer
323
330
Completer Should Suggest print.data.frame
324
331
# if data.frame is not active, activate it (it should be in top 10 on any platform)
Original file line number Diff line number Diff line change @@ -24,5 +24,5 @@ class JuliaLanguageServer(ShellSpec):
24
24
issues = "https://github.com/julia-vscode/LanguageServer.jl/issues" ,
25
25
),
26
26
install = dict (julia = 'using Pkg; Pkg.add("LanguageServer")' ),
27
- config_schema = load_config_schema (key )
27
+ config_schema = load_config_schema (key ),
28
28
)
Original file line number Diff line number Diff line change @@ -19,5 +19,5 @@ class PyrightLanguageServer(NodeModuleSpec):
19
19
yarn = "yarn add --dev {}" .format (key ),
20
20
jlpm = "jlpm add --dev {}" .format (key ),
21
21
),
22
- config_schema = load_config_schema (key )
22
+ config_schema = load_config_schema (key ),
23
23
)
Original file line number Diff line number Diff line change @@ -37,5 +37,5 @@ class TypescriptLanguageServer(NodeModuleSpec):
37
37
yarn = "yarn add --dev {}" .format (key ),
38
38
jlpm = "jlpm add --dev {}" .format (key ),
39
39
),
40
- config_schema = load_config_schema (key )
40
+ config_schema = load_config_schema (key ),
41
41
)
Original file line number Diff line number Diff line change 40
40
ROBOCOP_EXCLUDES = [
41
41
"empty-lines-between-sections" ,
42
42
"file-too-long" ,
43
- "if-can-be-used" ,
44
43
"missing-doc-keyword" ,
45
44
"missing-doc-suite" ,
46
45
"missing-doc-test-case" ,
46
+ "todo-in-comment" ,
47
47
"too-long-test-case" ,
48
48
"too-many-arguments" ,
49
49
"too-many-calls-in-keyword" ,
You can’t perform that action at this time.
0 commit comments