Skip to content

Commit a713250

Browse files
authored
black
1 parent 57a1576 commit a713250

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cleanvision/issue_managers/duplicate_issue_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
def get_hash(image: Image.Image, params: Dict[str, Any]) -> str:
1919
hash_type, hash_size = params["hash_type"], params.get("hash_size", None)
2020
supported_types = ["md5", "whash", "phash", "ahash", "dhash", "chash"]
21-
if not hash_type in supported_types:
21+
if hash_type not in supported_types:
2222
raise ValueError(f"Hash type `{hash_type}` is not supported. Must be one of: {supported_types}")
2323

2424
if hash_type == "md5":

0 commit comments

Comments
 (0)