unify helptexts
This commit is contained in:
parent
137e559d57
commit
24c00a3b29
|
@ -4,7 +4,7 @@ from ansiblelater.rule import RuleBase
|
|||
class CheckDeprecated(RuleBase):
|
||||
sid = "ANSIBLE9999"
|
||||
description = "Deprecated features should not be used"
|
||||
helptext = "'{old}' is deprecated and should not be used anymore. Use '{new}' instead."
|
||||
helptext = "`{old}` is deprecated and should not be used anymore. Use `{new}` instead."
|
||||
types = ["playbook", "task", "handler"]
|
||||
|
||||
def check(self, candidate, settings):
|
||||
|
|
|
@ -6,7 +6,7 @@ from ansiblelater.rule import RuleBase
|
|||
class CheckNameFormat(RuleBase):
|
||||
sid = "ANSIBLE0007"
|
||||
description = "Name of tasks and handlers must be formatted"
|
||||
helptext = "name '{name}' should start with uppercase"
|
||||
helptext = "name `{name}` should start with uppercase"
|
||||
types = ["playbook", "task", "handler"]
|
||||
|
||||
def check(self, candidate, settings):
|
||||
|
|
|
@ -4,7 +4,7 @@ from ansiblelater.rule import RuleBase
|
|||
class CheckNamedTask(RuleBase):
|
||||
sid = "ANSIBLE0006"
|
||||
description = "Tasks and handlers must be named"
|
||||
helptext = "module '{module}' used without or empty `name` attribute"
|
||||
helptext = "module `{module}` used without or empty `name` attribute"
|
||||
types = ["playbook", "task", "handler"]
|
||||
|
||||
def check(self, candidate, settings):
|
||||
|
|
|
@ -6,7 +6,7 @@ from ansiblelater.rule import RuleBase
|
|||
class CheckUniqueNamedTask(RuleBase):
|
||||
sid = "ANSIBLE0003"
|
||||
description = "Tasks and handlers must be uniquely named within a single file"
|
||||
helptext = "name '{name}' appears multiple times"
|
||||
helptext = "name `{name}` appears multiple times"
|
||||
types = ["playbook", "task", "handler"]
|
||||
|
||||
def check(self, candidate, settings):
|
||||
|
|
Loading…
Reference in New Issue