autonomy.cli.helpers.docstring
Helper for docstring analyser.
import_
rounds_
module
def import_rounds_module(module_path: Path,
packages_dir: Optional[Path] = None) -> ModuleType
Import module using importlib.import_module
analyse_
docstrings
def analyse_docstrings(module_path: Path,
update: bool = False,
packages_dir: Optional[Path] = None) -> bool
Process module.
Arguments:
module_path
: Path to the rounds moduleupdate
: whether to update the content if requiredpackages_dir
: Path to packages directory
Returns:
boolean specifying whether the update is needed or not