Skip to content

Commit

Permalink
cli: fixing small linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
audrium committed Sep 7, 2020
1 parent a0ea393 commit ff2a929
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions reana/reana_dev/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,14 +394,13 @@ def cluster_unpause():
help="Which directories are used to mount the cluster nodes? [local_path:cluster_node_path]",
)
@cluster_commands.command(name="cluster-delete")
def cluster_delete(mounts):
def cluster_delete(mounts): # noqa: D301
"""Delete REANA cluster.
\b
Example:
$ reana-dev cluster-delete -m /var/reana:/var/reana
"""

cmd = ""
for mount in mounts:
cmd += "rm -rf {}; ".format(mount.split(":")[0])
Expand Down

0 comments on commit ff2a929

Please sign in to comment.