fix linting

This commit is contained in:
Robert Kaussow 2021-01-31 13:45:24 +01:00
parent 4278df2848
commit dd93c07279
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61

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))