From 1c6113694d8492d72d58d81223f47ee72c807246 Mon Sep 17 00:00:00 2001 From: wisp3rwind <17089248+wisp3rwind@users.noreply.github.com> Date: Sun, 22 Oct 2023 10:22:09 +0200 Subject: [PATCH] fixup noqa after black auto-formatting --- test/plugins/test_edit.py | 8 ++++---- test/test_autotag.py | 4 ++-- test/test_datequery.py | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/test/plugins/test_edit.py b/test/plugins/test_edit.py index 04af56117..413db7cf6 100644 --- a/test/plugins/test_edit.py +++ b/test/plugins/test_edit.py @@ -72,8 +72,8 @@ class ModifyFileMocker: class EditMixin: """Helper containing some common functionality used for the Edit tests.""" - def assertItemFieldsModified( - self, library_items, items, fields=[], allowed=["path"] # noqa + def assertItemFieldsModified( # noqa + self, library_items, items, fields=[], allowed=["path"] ): """Assert that items in the library (`lib_items`) have different values on the specified `fields` (and *only* on those fields), compared to @@ -135,11 +135,11 @@ class EditCommandTest(unittest.TestCase, TestHelper, EditMixin): self.teardown_beets() self.unload_plugins() - def assertCounts( + def assertCounts( # noqa self, mock_write, album_count=ALBUM_COUNT, - track_count=TRACK_COUNT, # noqa + track_count=TRACK_COUNT, write_call_count=TRACK_COUNT, title_starts_with="", ): diff --git a/test/test_autotag.py b/test/test_autotag.py index c0268910d..130b69419 100644 --- a/test/test_autotag.py +++ b/test/test_autotag.py @@ -1078,9 +1078,9 @@ class EnumTest(_common.TestCase): """ def test_ordered_enum(self): - OrderedEnumClass = match.OrderedEnum( + OrderedEnumClass = match.OrderedEnum( # noqa "OrderedEnumTest", ["a", "b", "c"] - ) # noqa + ) self.assertLess(OrderedEnumClass.a, OrderedEnumClass.b) self.assertLess(OrderedEnumClass.a, OrderedEnumClass.c) self.assertLess(OrderedEnumClass.b, OrderedEnumClass.c) diff --git a/test/test_datequery.py b/test/test_datequery.py index 50066af66..73175f9ec 100644 --- a/test/test_datequery.py +++ b/test/test_datequery.py @@ -132,9 +132,9 @@ class DateIntervalTest(unittest.TestCase): self.assertContains("..", date=datetime.min) self.assertContains("..", "1000-01-01T00:00:00") - def assertContains( + def assertContains( # noqa self, interval_pattern, date_pattern=None, date=None - ): # noqa + ): if date is None: date = _date(date_pattern) (start, end) = _parse_periods(interval_pattern)