@@ -11,7 +11,7 @@ class InvalidCompressorException(Exception):
1111
1212 def __init__ (self , compression_library : str ) -> None :
1313 self .message = f"""
14- Compression Library ({ compression_library } )
14+ Compression Library ({ compression_library } )
1515 is not currently supported.
1616 """
1717 super ().__init__ (self .message )
@@ -25,10 +25,10 @@ class MissingDependencyException(Exception):
2525
2626 def __init__ (self , compression_library : str ) -> None :
2727 self .message = f"""
28- Compression Library ({ compression_library } )
29- is missing an underlying dependency. Try
30- installing those missing dependencies and
31- load this again.
28+ Compression Library ({ compression_library } )
29+ is missing an underlying dependency. Try
30+ installing those missing dependencies and
31+ load this again.
3232
3333 Common missing dependencies for:
3434
@@ -50,7 +50,7 @@ def __init__(
5050 self .message = f"""
5151 Unable to aggregate ({ stringa } ) and ({ stringb } ).
5252 One or both of the two strings are too short to concatenate.
53-
53+
5454 """
5555
5656 if function_name is not None :
@@ -66,11 +66,11 @@ def __init__(
6666 compressed_value_b : Optional [float ] = None ,
6767 function_name : Optional [str ] = None ,
6868 ) -> None :
69- self .message = f """
70- The combination of compressed values passed equal zero.
69+ self .message = """
70+ The combination of compressed values passed equal zero.
7171 This will result in a divide by zero error.
7272
73-
73+
7474 """
7575
7676 if function_name is not None :
@@ -91,7 +91,7 @@ def __init__(
9191 arg1: { type (a )}
9292 arg2: { type (b )}
9393 arg3: { type (c )}
94-
94+
9595 """
9696
9797 if function_name is not None :
@@ -112,7 +112,7 @@ def __init__(
112112 arg1: { array_a .shape }
113113 arg2: { array_b .shape }
114114 arg3: { array_c .shape }
115-
115+
116116 """
117117
118118 if function_name is not None :
@@ -128,11 +128,11 @@ def __init__(
128128 function_name : Optional [str ] = None ,
129129 ) -> None :
130130 self .message = f"""
131- The `distance_metric` ({ distance_metric } ) provided is not
131+ The `distance_metric` ({ distance_metric } ) provided is not
132132 currently supported. Please submit an Issue and/or
133133 Pull Request here to add support:
134134 https://github.com/bazingagin/npc_gzip
135-
135+
136136 """
137137
138138 if supported_distance_metrics is not None :
@@ -153,9 +153,9 @@ def __init__(
153153 function_name : Optional [str ] = None ,
154154 ) -> None :
155155 self .message = f"""
156- The type passed ({ passed_type } ) provided is not
157- currently supported.
158-
156+ The type passed ({ passed_type } ) provided is not
157+ currently supported.
158+
159159 """
160160
161161 if supported_types is not None :
@@ -174,13 +174,13 @@ def __init__(
174174 function_name : Optional [str ] = None ,
175175 ) -> None :
176176 self .message = f"""
177- If training labels are passed, the number
178- of training data samples must equal the
177+ If training labels are passed, the number
178+ of training data samples must equal the
179179 number of training label samples
180-
180+
181181 training_samples: { training_samples }
182182 label_samples: { label_samples }
183-
183+
184184 """
185185
186186 if function_name is not None :
0 commit comments