From 28645c7fbfb45a3d372dbb0f3b23dc96a7c43c6d Mon Sep 17 00:00:00 2001 From: MSAdministrator Date: Mon, 15 Aug 2022 15:18:46 -0500 Subject: [PATCH] fix(local): Update docstrings for darglint --- src/atomic_operator_runner/local.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/atomic_operator_runner/local.py b/src/atomic_operator_runner/local.py index b9cdcd0..8fd5f99 100644 --- a/src/atomic_operator_runner/local.py +++ b/src/atomic_operator_runner/local.py @@ -18,10 +18,10 @@ def run( Args: executor (str): The executor to use when executing the provided command string. command (str): The command string to run. - timeout (int, optional): Timeout when running a command. Defaults to 5. - shell (bool, optional): Whether to spawn a new shell or not. Defaults to False. - env (_type_, optional): Environment to use including environmental variables.. Defaults to os.environ. - cwd (str, optional): The current working directory. Defaults to None. + timeout (int): Timeout when running a command. Defaults to 5. + shell (bool): Whether to spawn a new shell or not. Defaults to False. + env (dict): Environment to use including environmental variables.. Defaults to os.environ. + cwd (str): The current working directory. Defaults to None. Returns: Dict[str]: Returns a dictionary of results from running the provided command.