-
Notifications
You must be signed in to change notification settings - Fork 675
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for ignoring test / directories by fqcn[deep] rule (#4320)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
25f783c
commit 07c05e9
Showing
3 changed files
with
53 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
"""An ansible test module.""" | ||
|
||
DOCUMENTATION = """ | ||
module: mod_1 | ||
author: | ||
- test | ||
short_description: This is a test module | ||
description: | ||
- This is a test module | ||
version_added: 1.0.0 | ||
options: | ||
foo: | ||
description: | ||
- Dummy option I(foo) | ||
type: str | ||
bar: | ||
description: | ||
- Dummy option I(bar) | ||
default: candidate | ||
type: str | ||
choices: | ||
- candidate | ||
- running | ||
aliases: | ||
- bam | ||
notes: | ||
- This is a dummy module | ||
""" | ||
|
||
EXAMPLES = """ | ||
- name: test task-1 | ||
company_name.coll_1.mod_1: | ||
foo: some value | ||
bar: candidate | ||
""" | ||
|
||
RETURN = """ | ||
baz: | ||
description: test return 1 | ||
returned: success | ||
type: list | ||
sample: ['a','b'] | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters