From 124c882b4d850b08ba3c52ff05bef219878165ad Mon Sep 17 00:00:00 2001 From: Jacob Pavlock Date: Sat, 11 Jul 2020 18:33:08 -0700 Subject: [PATCH] un-ignore E221 --- beetsplug/discogs.py | 2 +- beetsplug/playlist.py | 2 +- setup.cfg | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/beetsplug/discogs.py b/beetsplug/discogs.py index 038fa809a..3b2595585 100644 --- a/beetsplug/discogs.py +++ b/beetsplug/discogs.py @@ -38,7 +38,7 @@ from string import ascii_lowercase USER_AGENT = u'beets/{0} +https://beets.io/'.format(beets.__version__) -API_KEY = 'rAzVUQYRaoFjeBjyWuWZ' +API_KEY = 'rAzVUQYRaoFjeBjyWuWZ' API_SECRET = 'plxtUTqoCzwxZpqdPysCwGuBSmZNdZVy' # Exceptions that discogs_client should really handle but does not. diff --git a/beetsplug/playlist.py b/beetsplug/playlist.py index 302ddb56d..3f8ba2b0e 100644 --- a/beetsplug/playlist.py +++ b/beetsplug/playlist.py @@ -71,7 +71,7 @@ class PlaylistQuery(beets.dbcore.Query): if not self.paths: # Playlist is empty return '0', () - clause = 'path IN ({0})'.format(', '.join('?' for path in self.paths)) + clause = 'path IN ({0})'.format(', '.join('?' for path in self.paths)) return clause, (beets.library.BLOB_TYPE(p) for p in self.paths) def match(self, item): diff --git a/setup.cfg b/setup.cfg index 71da3bcc6..1b61dfae8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -8,7 +8,6 @@ ignore = E121, # continuation line under-indented for hanging indent E123, # closing bracket does not match indentation of opening bracket's line E126, # continuation line over-indented for hangin indent - E221, # multiple spaces before operator (for vertical alignment) E241, # multiple spaces after non-arithmetic operators (for vertical alignment) E305, # expected 2 blank lines after end of function or class E731, # do not assign a lamba expression, use a def