Disable pep8 name check and correct argument name

This commit is contained in:
Jack Wilsdon 2016-04-28 03:28:54 +01:00
parent 64e16b5004
commit 77b48bac7e

View file

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