diff --git a/bookwyrm/tests/__init__.py b/bookwyrm/tests/__init__.py index fd96fb7b6..0879d4ecd 100644 --- a/bookwyrm/tests/__init__.py +++ b/bookwyrm/tests/__init__.py @@ -1,2 +1,2 @@ """ import ALL the tests """ -from . import * # pylint: disable=import-self +from . import * # pylint: disable=import-self diff --git a/bookwyrm/tests/activitypub/test_author.py b/bookwyrm/tests/activitypub/test_author.py index 04439d137..61d525fc0 100644 --- a/bookwyrm/tests/activitypub/test_author.py +++ b/bookwyrm/tests/activitypub/test_author.py @@ -4,10 +4,10 @@ from bookwyrm import models class Author(TestCase): - """ serialize author tests """ + """serialize author tests""" def setUp(self): - """ initial data """ + """initial data""" self.book = models.Edition.objects.create( title="Example Edition", remote_id="https://example.com/book/1", @@ -19,7 +19,7 @@ class Author(TestCase): ) def test_serialize_model(self): - """ check presense of author fields """ + """check presense of author fields""" activity = self.author.to_activity() self.assertEqual(activity["id"], self.author.remote_id) self.assertIsInstance(activity["aliases"], list) diff --git a/bookwyrm/tests/models/test_fields.py b/bookwyrm/tests/models/test_fields.py index ed50d708e..13ba6f2c9 100644 --- a/bookwyrm/tests/models/test_fields.py +++ b/bookwyrm/tests/models/test_fields.py @@ -161,6 +161,7 @@ class ModelFields(TestCase): @dataclass(init=False) class TestActivity(ActivityObject): """real simple mock""" + # pylint: disbale=invalid-name to: List[str] cc: List[str]