fix linter exceptions

This commit is contained in:
Robert Kaussow 2023-03-27 13:03:45 +02:00
parent 8f9c337373
commit 9b9e16ead6
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 2 additions and 2 deletions

View File

@ -244,7 +244,7 @@ class StandardBase(metaclass=StandardExtendedMeta):
else:
first_cmd_arg = task["action"]["__ansible_arguments__"][0]
return first_cmd_arg # noqa
return first_cmd_arg
class Error:
"""Default error object created if a rule failed."""

View File

@ -373,7 +373,7 @@ def rolename(filepath):
return ""
role = filepath[idx + 6:]
role = role[:role.find("/")]
return role # noqa
return role
def _kv_to_dict(v):