🎨 Add codemods to pre-commit, fix flake8

This commit is contained in:
Gina Häußge committed 2020-10-07 16:27:11 +02:00
1 parent 6d6671c2a1
commit b5be8f3eae
107 files changed
+1149 -1160

No files matched your search

@@ -38,7 +38,7 @@ def _get_latest_commit(user, repo, branch, api_user=None, api_password=None):
return None
reference = r.json()
if not "hash" in reference:
if "hash" not in reference:
return None
return reference["hash"]