fix linter exceptions
This commit is contained in:
parent
8f9c337373
commit
9b9e16ead6
|
@ -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."""
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue