Commit e62803a7 authored by Paulo Medeiros's avatar Paulo Medeiros
Browse files

Lint docstrings.

parent 45f97c45
......@@ -16,11 +16,10 @@ from .commands_functions import (
class StoreDictKeyPair(argparse.Action):
"""Enable args="key1=val1, ..., keyN=valN" in command line args.
"""Enable args="key1=val1, ..., keyN=valN" in command line args."""
Source: <
# Source: <
# python-argparse-dict-arg/42355279>
def __init__(self, option_strings, dest, nargs=None, **kwargs):
"""Initialise nargs."""
......@@ -37,7 +36,15 @@ class StoreDictKeyPair(argparse.Action):
def get_parsed_args(program_name):
"""Get parsed command line arguments."""
"""Get parsed command line arguments.
program_name (str): The name of the program.
argparse.Namespace: Parsed command line arguments.
# Define main parser and general options
parser = argparse.ArgumentParser(
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment