diff options
author | Louis Mandel <mandel@users.noreply.github.com> | 2022-11-08 18:06:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-08 18:06:22 +0300 |
commit | 0ae963a311200d1cf9b2dbb38171096a5bb284eb (patch) | |
tree | 549668439ff96495153d293bb0a4b9b2c4eb86a8 | |
parent | d0b6ce7473e1ca475b6a3e9334426063a4d189f7 (diff) |
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
-rw-r--r-- | lib/ansible/modules/git.py | 1 | ||||
-rw-r--r-- | test/sanity/ignore.txt | 1 |
2 files changed, 1 insertions, 1 deletions
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 |