fix: flake8 problem
@@ -332,7 +332,7 @@ class Distance(object):
self._penalties = {}
@LazyClassProperty
- def _weights(cls): # noqa
+ def _weights(self, cls): # noqa
"""A dictionary from keys to floating-point weights.
"""
weights_view = config['match']['distance_weights']
