Skip to content

Commit

Permalink
feat(lookup_table): subprocess
Browse files Browse the repository at this point in the history
  • Loading branch information
kiyoon committed Oct 18, 2024
1 parent a0f9b7f commit 767983c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lua/python_import/lookup_table.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ M.default_import = {
"typing",
"typing_extensions",
"setuptools",
"subprocess",
"xml",

-- third-party
Expand Down Expand Up @@ -266,6 +267,14 @@ M.default_import_from = {

setup = "setuptools",

Popen = "subprocess",
PIPE = "subprocess",
STDOUT = "subprocess",
DEVNULL = "subprocess",
SubprocessError = "subprocess",
CalledProcessError = "subprocess",
CompletedProcess = "subprocess",

-- third-party
nn = "torch",
Image = "PIL",
Expand Down

0 comments on commit 767983c

Please sign in to comment.