From 0ae963a311200d1cf9b2dbb38171096a5bb284eb Mon Sep 17 00:00:00 2001 From: Louis Mandel Date: Tue, 8 Nov 2022 10:06:22 -0500 Subject: [PATCH] Add missing type to the `reference` option of the documentation of the `git` module (#79305) * Add missing type to the `reference` option of the `git` module * No more doc-missing-type error in validate-modules --- lib/ansible/modules/git.py | 1 + test/sanity/ignore.txt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/git.py b/lib/ansible/modules/git.py index 37477b3cac5..f24e415390b 100644 --- a/lib/ansible/modules/git.py +++ b/lib/ansible/modules/git.py @@ -81,6 +81,7 @@ options: reference: description: - Reference repository (see "git clone --reference ..."). + type: str version_added: "1.4" remote: description: diff --git a/test/sanity/ignore.txt b/test/sanity/ignore.txt index adebe5f972f..5e5b5308e83 100644 --- a/test/sanity/ignore.txt +++ b/test/sanity/ignore.txt @@ -35,7 +35,6 @@ lib/ansible/modules/file.py validate-modules:undocumented-parameter lib/ansible/modules/find.py use-argspec-type-path # fix needed lib/ansible/modules/git.py pylint:disallowed-name lib/ansible/modules/git.py use-argspec-type-path -lib/ansible/modules/git.py validate-modules:doc-missing-type lib/ansible/modules/git.py validate-modules:doc-required-mismatch lib/ansible/modules/iptables.py pylint:disallowed-name lib/ansible/modules/lineinfile.py validate-modules:doc-choices-do-not-match-spec