chore: fix formatting in aliases.py

This commit is contained in:
Gil Forsyth 2023-01-12 16:59:14 -05:00 committed by Gil Forsyth
parent df8952d99e
commit 75f351821a

View file

@ -817,7 +817,11 @@ def detect_xpip_alias():
return basecmd
elif IN_APPIMAGE:
# In AppImage `sys.executable` is equal to path to xonsh.AppImage file and the real python executable is in $_
return [XSH.env.get("_", "APPIMAGE_PYTHON_EXECUTABLE_NOT_FOUND"), "-m", "pip"]
return [
XSH.env.get("_", "APPIMAGE_PYTHON_EXECUTABLE_NOT_FOUND"),
"-m",
"pip",
]
elif not os.access(os.path.dirname(sys.executable), os.W_OK):
return (
sys.executable