Skip to content

Commit 91eaf67

Browse files
committed
D103 - Missing docstring in public function
1 parent e1d81e6 commit 91eaf67

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/pre_commit_terraform/terraform_docs_replace.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313

1414
def populate_argument_parser(subcommand_parser: ArgumentParser) -> None:
15+
"""Populate the parser for the subcommand."""
1516
subcommand_parser.description = (
1617
'Run terraform-docs on a set of files. Follows the standard '
1718
'convention of pulling the documentation from main.tf in order to '
@@ -47,6 +48,11 @@ def populate_argument_parser(subcommand_parser: ArgumentParser) -> None:
4748

4849

4950
def invoke_cli_app(parsed_cli_args: Namespace) -> ReturnCodeType:
51+
"""Run the entry-point of the CLI app.
52+
53+
Returns:
54+
ReturnCodeType: The return code of the app.
55+
"""
5056
warnings.warn(
5157
'`terraform_docs_replace` hook is DEPRECATED.'
5258
'For migration instructions see '

0 commit comments

Comments
 (0)