Skip to content

Commit d63152c

Browse files
committed
ruff formatting
1 parent c9916b7 commit d63152c

25 files changed

Lines changed: 47 additions & 44 deletions

probables/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" pyprobables module """
1+
"""pyprobables module"""
22

33
from probables.blooms import (
44
BloomFilter,

probables/blooms/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Bloom Filters """
1+
"""Bloom Filters"""
22

33
from probables.blooms.bloom import BloomFilter, BloomFilterOnDisk
44
from probables.blooms.countingbloom import CountingBloomFilter

probables/blooms/bloom.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
""" BloomFilter and BloomFiter on Disk, python implementation
2-
License: MIT
3-
Author: Tyler Barrus (barrust@gmail.com)
4-
URL: https://github.com/barrust/bloom
1+
"""BloomFilter and BloomFiter on Disk, python implementation
2+
License: MIT
3+
Author: Tyler Barrus (barrust@gmail.com)
4+
URL: https://github.com/barrust/bloom
55
"""
6+
67
import math
78
import os
89
from array import array

probables/blooms/countingbloom.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
""" CountingBloomFilter, python implementation
2-
License: MIT
3-
Author: Tyler Barrus (barrust@gmail.com)
4-
URL: https://github.com/barrust/counting_bloom
1+
"""CountingBloomFilter, python implementation
2+
License: MIT
3+
Author: Tyler Barrus (barrust@gmail.com)
4+
URL: https://github.com/barrust/counting_bloom
55
"""
6+
67
from array import array
78
from collections.abc import ByteString
89
from pathlib import Path

probables/blooms/expandingbloom.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
""" Expanding and Rotating BloomFilter, python implementations
2-
License: MIT
3-
Author: Tyler Barrus (barrust@gmail.com)
4-
URL: https://github.com/barrust/pyprobables
1+
"""Expanding and Rotating BloomFilter, python implementations
2+
License: MIT
3+
Author: Tyler Barrus (barrust@gmail.com)
4+
URL: https://github.com/barrust/pyprobables
55
"""
66

77
from array import array

probables/constants.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
""" Project Constants (or basic numerical constants...) """
1+
"""Project Constants (or basic numerical constants...)"""
2+
23
INT32_T_MIN = -2147483648
34
INT32_T_MAX = 2147483647
45
INT64_T_MIN = -9223372036854775808

probables/countminsketch/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Count-Min Sketchs """
1+
"""Count-Min Sketchs"""
22

33
from probables.countminsketch.countminsketch import (
44
CountMeanMinSketch,

probables/countminsketch/countminsketch.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
""" Count-Min Sketch, Heavy Hitters, and Stream Threshold, python implementations
2-
License: MIT
3-
Author: Tyler Barrus (barrust@gmail.com)
4-
URL: https://github.com/barrust/count-min-sketch
1+
"""Count-Min Sketch, Heavy Hitters, and Stream Threshold, python implementations
2+
License: MIT
3+
Author: Tyler Barrus (barrust@gmail.com)
4+
URL: https://github.com/barrust/count-min-sketch
55
"""
66

77
import math

probables/cuckoo/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" Cuckoo Filters """
1+
"""Cuckoo Filters"""
22

33
from probables.cuckoo.countingcuckoo import CountingCuckooFilter
44
from probables.cuckoo.cuckoo import CuckooFilter

probables/cuckoo/countingcuckoo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
""" Counting Cuckoo Filter, python implementation
2-
License: MIT
3-
Author: Tyler Barrus (barrust@gmail.com)
1+
"""Counting Cuckoo Filter, python implementation
2+
License: MIT
3+
Author: Tyler Barrus (barrust@gmail.com)
44
"""
55

66
import random

0 commit comments

Comments
 (0)