From 77b48bac7e63442f26f288942fd95a1f43c9f211 Mon Sep 17 00:00:00 2001 From: Jack Wilsdon Date: Thu, 28 Apr 2016 03:28:54 +0100 Subject: [PATCH] Disable pep8 name check and correct argument name --- beets/autotag/hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/autotag/hooks.py b/beets/autotag/hooks.py index 4a89e6dc8..5c8e0e2c5 100644 --- a/beets/autotag/hooks.py +++ b/beets/autotag/hooks.py @@ -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']