Skip to content

Commit 415e2c2

Browse files
committed
feat: with ensure-import when run ipython by uvx
1 parent 2be31ef commit 415e2c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.mg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def uvx_ipython(not_windows=True):
7070
elif os.path.exists(os.path.join("..", "..", toml)):
7171
directory = os.path.join("..", "..")
7272
argument = get_argument(not_windows, directory, verbose)
73-
return "uvx" + argument + " ipython"
73+
return "uvx --with ensure-import" + argument + " ipython"
7474

7575

7676
def is_venv():

0 commit comments

Comments
 (0)