Skip to content

Commit 333b9a3

Browse files
author
Christopher Doris
committed
more REPL hacks
1 parent a29e591 commit 333b9a3

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

Project.toml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
1414
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
1515
UnsafePointers = "e17b2a0c-0bdf-430a-bd0c-3a23cae4ff39"
1616

17+
[weakdeps]
18+
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
19+
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
20+
21+
[extensions]
22+
CategoricalArraysExt = "CategoricalArrays"
23+
PyCallExt = "PyCall"
24+
1725
[compat]
1826
Aqua = "0 - 999"
1927
CategoricalArrays = "0.10, 1"
@@ -24,27 +32,21 @@ MacroTools = "0.5"
2432
Markdown = "1"
2533
Pkg = "1"
2634
PyCall = "1"
35+
REPL = "1"
2736
Serialization = "1"
2837
Tables = "1"
2938
Test = "1"
3039
TestItemRunner = "0 - 999"
3140
UnsafePointers = "1"
3241
julia = "1.9"
3342

34-
[extensions]
35-
PyCallExt = "PyCall"
36-
CategoricalArraysExt = "CategoricalArrays"
37-
3843
[extras]
3944
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
4045
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
4146
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
47+
REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
4248
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
4349
TestItemRunner = "f8b46487-2199-4994-9208-9a1283c18c0a"
4450

4551
[targets]
46-
test = ["Aqua", "PyCall", "Test", "TestItemRunner"]
47-
48-
[weakdeps]
49-
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
50-
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
52+
test = ["Aqua", "PyCall", "Test", "TestItemRunner", "REPL"]

test/JlWrap.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@
220220
pyjl(Foo(1)).jl_display(mime = "text/plain")
221221
end
222222
@testset "help" begin
223+
using REPL
223224
pyjl(Foo(1)).jl_help()
224225
pyjl(Foo(1)).jl_help(mime = "text/plain")
225226
end

0 commit comments

Comments
 (0)