Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion invoke/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def __getattr__(self, key: str) -> Any:
try:
return self._get(key)
except KeyError:
# Proxy most special vars to config for dict procotol.
# Proxy most special vars to config for dict protocol.
if key in self._proxies:
return getattr(self._config, key)
# Otherwise, raise useful AttributeError to follow getattr proto.
Expand Down
2 changes: 1 addition & 1 deletion invoke/runners.py
Original file line number Diff line number Diff line change
Expand Up @@ -1399,7 +1399,7 @@ def process_is_finished(self) -> bool:
def returncode(self) -> Optional[int]:
if self.using_pty:
# No subprocess.returncode available; use WIFEXITED/WIFSIGNALED to
# determine whch of WEXITSTATUS / WTERMSIG to use.
# determine which of WEXITSTATUS / WTERMSIG to use.
# TODO: is it safe to just say "call all WEXITSTATUS/WTERMSIG and
# return whichever one of them is nondefault"? Probably not?
# NOTE: doing this in an arbitrary order should be safe since only
Expand Down