[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2023-04-08 14:49:30 +00:00
parent 54041ff38c
commit 483a2a0ab2

View File

@ -30,7 +30,7 @@ because both hash functions return the same value
Not added elements should return False ...
>>> not_present_films = ("The Goodfather", "Interstellar", "Parasite", "Pulp Fiction")
>>> {film: bloom.format_hash(film) for film in not_present_films)}
>>> {film: bloom.format_hash(film) for film in not_present_films)}
{'The Goodfather': '00011000', 'Interstellar': '00000011', 'Parasite': '00010010': 'Pulp Fiction': '10000100'}
>>> any(film in bloom for film in not_present_films)
False