Skip to content

Commit

Permalink
dev(darglint): Adding ignore for optional parameters within docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
MSAdministrator committed Aug 15, 2022
1 parent 28645c7 commit 20b3fb1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .darglint
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[darglint]
strictness = long
ignore=DAR103
8 changes: 4 additions & 4 deletions src/atomic_operator_runner/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -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): 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.
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 (dict, optional): Environment to use including environmental variables.. Defaults to os.environ.
cwd (str, optional): The current working directory. Defaults to None.
Returns:
Dict[str]: Returns a dictionary of results from running the provided command.
Expand Down

0 comments on commit 20b3fb1

Please sign in to comment.