From 7b2b37bb32a7ebf9a7044a76c51b6a7f5b488734 Mon Sep 17 00:00:00 2001 From: Andrew DalPino Date: Tue, 15 Oct 2024 18:04:56 -0500 Subject: [PATCH] Clean up a bit --- src/okbloomer/bloom_filter.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/okbloomer/bloom_filter.py b/src/okbloomer/bloom_filter.py index 4c4dee1..23708c9 100644 --- a/src/okbloomer/bloom_filter.py +++ b/src/okbloomer/bloom_filter.py @@ -136,9 +136,7 @@ def exists_or_insert(self, token: str) -> bool: return exists def _add_layer(self) -> None: - """ - Add another layer to the filter for maintaining the false positivity rate below the threshold. - """ + """Add another layer to the filter for maintaining the false positivity rate below the threshold.""" self.layers.append(np.zeros(self.layer_size, dtype='bool')) self.m += self.layer_size