From 14dc285b4f6348729e6cb3c7173fa3f786ef75b8 Mon Sep 17 00:00:00 2001 From: Jef LeCompte Date: Thu, 4 Jun 2020 21:55:47 -0400 Subject: [PATCH] chore(flake8): update comment and version --- beets/autotag/hooks.py | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]