Skip to content

Commit

Permalink
Improve description of tags (#1896)
Browse files Browse the repository at this point in the history
* removed behavior tag as we have no rule using it
* adds documentation for other tags that did not had any
  • Loading branch information
ssbarnea authored Feb 14, 2022
1 parent 3e15dfc commit 8709c67
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/ansiblelint/rules/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ def __repr__(self) -> str:

def listtags(self) -> str:
tag_desc = {
"behaviour": "Indicates a bad practice or behavior",
"command-shell": "Specific to use of command and shell modules",
"core": "Related to internal implementation of the linter",
"deprecations": "Indicate use of features that are removed from Ansible",
Expand All @@ -287,7 +286,11 @@ def listtags(self) -> str:
"idempotency": "Possible indication that consequent runs would produce different results",
"idiom": "Anti-pattern detected, likely to cause undesired behavior",
"metadata": "Invalid metadata, likely related to galaxy, collections or roles",
"yaml": "External linter which will also produce its own rule codes.",
"opt-in": "Rules that are not used unless manually added to `enable_list`",
"security": "Rules related o potentially security issues, like exposing credentials",
"unpredictability": "Warn about code that might not work in a predictable way",
"unskippable": "Indicate a fatal error that cannot be ignored or disabled",
"yaml": "External linter which will also produce its own rule codes",
}

tags = defaultdict(list)
Expand Down

0 comments on commit 8709c67

Please sign in to comment.