Pylint fixes

This commit is contained in:
Mouse Reeve 2022-07-02 12:07:22 -07:00
parent 13e23a868d
commit 94a6675dc4
4 changed files with 4 additions and 3 deletions

View file

@ -24,5 +24,5 @@ class CalibreImporter(Importer):
super().__init__(*args, **kwargs)
def get_shelf(self, normalized_row):
# Calibre export does not indicate which shelf to use. Go with a default one for now
# Calibre export does not indicate which shelf to use. Use a default one for now
return Shelf.TO_READ

View file

@ -34,6 +34,7 @@ class PostgresTriggers(TestCase):
)
book.authors.add(author)
book.refresh_from_db()
# pylint: disable=line-too-long
self.assertEqual(
book.search_vector,
"'cool':5B 'goodby':3A 'long':2A 'name':9 'rays':7C 'seri':8 'the':6C 'wow':4B",

View file

@ -106,7 +106,7 @@ def find_authors_by_name(name_string, description=False):
if titles:
# some of the "titles" in ISNI are a little ...iffy
# '@' is used by ISNI/OCLC to index the starting point ignoring stop words
# @ is used by ISNI/OCLC to index the starting point ignoring stop words
# (e.g. "The @Government of no one")
title_elements = [
e

View file

@ -89,7 +89,7 @@ services:
command: celery -A celerywyrm flower --basic_auth=${FLOWER_USER}:${FLOWER_PASSWORD}
env_file: .env
ports:
- ${FLOWER_PORT}
- ${FLOWER_PORT}:${FLOWER_PORT}
volumes:
- .:/app
networks: