Bump vendored version of shellingham

Fix #5333
This commit is contained in:
Oz N Tiram
2022-09-08 00:06:55 +02:00
parent f6ef1d31bf
commit 2f0265d076
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import os
from ._core import ShellDetectionFailure
__version__ = "1.4.0"
__version__ = "1.5.0"
def detect_shell(pid=None, max_depth=10):
+1 -1
View File
@@ -3,7 +3,7 @@ SHELL_NAMES = (
| {"csh", "tcsh"} # C.
| {"ksh", "zsh", "fish"} # Common alternatives.
| {"cmd", "powershell", "pwsh"} # Microsoft.
| {"elvish", "xonsh"} # More exotic.
| {"elvish", "xonsh", "nu"} # More exotic.
)
+1 -1
View File
@@ -27,7 +27,7 @@ def _iter_process_args(mapping, pid, max_depth):
proc = mapping[pid]
except KeyError: # We've reached the root process. Give up.
break
if proc.args: # Persumably the process should always have a name?
if proc.args: # Presumably the process should always have a name?
yield proc.args
pid = proc.ppid # Go up one level.
+1 -1
View File
@@ -16,7 +16,7 @@ def detect_proc():
"""Detect /proc filesystem style.
This checks the /proc/{pid} directory for possible formats. Returns one of
the followings as str:
the following as str:
* `stat`: Linux-style, i.e. ``/proc/{pid}/stat``.
* `status`: BSD-style, i.e. ``/proc/{pid}/status``.
+1 -1
View File
@@ -19,7 +19,7 @@ pyparsing==3.0.9
python-dotenv==0.19.0
pythonfinder==1.3.1
requirementslib==2.0.1
shellingham==1.4.0
shellingham==1.5.0
six==1.16.0
termcolor==1.1.0
toml==0.10.2