diff --git a/beets/autotag/hooks.py b/beets/autotag/hooks.py index 9bdf6b001..065d88170 100644 --- a/beets/autotag/hooks.py +++ b/beets/autotag/hooks.py @@ -332,7 +332,7 @@ class Distance(object): self._penalties = {} @LazyClassProperty - def _weights(cls): # noqa + def _weights(cls): # noqa: N805 """A dictionary from keys to floating-point weights. """ weights_view = config['match']['distance_weights'] diff --git a/tox.ini b/tox.ini index 9c1bc4106..047784f8b 100644 --- a/tox.ini +++ b/tox.ini @@ -31,7 +31,7 @@ deps = flake8-coding flake8-future-import flake8-blind-except - pep8-naming~=0.7.0 + pep8-naming files = beets beetsplug beet test setup.py docs [testenv]