fix linting

This commit is contained in:
Robert Kaussow 2021-01-31 13:45:24 +01:00
parent 4278df2848
commit dd93c07279
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
1 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,8 @@ class CheckGitHasVersion(StandardBase):
if not errors:
for task in tasks:
if (
task['action']['__ansible_module__'] == 'git'
and task['action'].get('version', 'HEAD') == 'HEAD'
task["action"]["__ansible_module__"] == "git"
and task["action"].get("version", "HEAD") == "HEAD"
):
errors.append(self.Error(task["__line__"], self.helptext))