Skip to content

Commit ae3f9bf

Browse files
committed
Corrected some flake8 errors, overindentation and pycharm reformat
don't seem to play well
1 parent 527d0a8 commit ae3f9bf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

beets/dbcore/query.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ def __repr__(self):
386386

387387
def __eq__(self, other):
388388
return super(CollectionQuery, self).__eq__(other) and \
389-
self.subqueries == other.subqueries
389+
self.subqueries == other.subqueries
390390

391391
def __hash__(self):
392392
"""Since subqueries are mutable, this object should not be hashable.
@@ -426,7 +426,7 @@ def __repr__(self):
426426

427427
def __eq__(self, other):
428428
return super(AnyFieldQuery, self).__eq__(other) and \
429-
self.query_class == other.query_class
429+
self.query_class == other.query_class
430430

431431
def __hash__(self):
432432
return hash((self.pattern, tuple(self.fields), self.query_class))
@@ -489,7 +489,7 @@ def __repr__(self):
489489

490490
def __eq__(self, other):
491491
return super(NotQuery, self).__eq__(other) and \
492-
self.subquery == other.subquery
492+
self.subquery == other.subquery
493493

494494
def __hash__(self):
495495
return hash(('not', hash(self.subquery)))
@@ -855,7 +855,7 @@ def __hash__(self):
855855

856856
def __eq__(self, other):
857857
return super(MultipleSort, self).__eq__(other) and \
858-
self.sorts == other.sorts
858+
self.sorts == other.sorts
859859

860860

861861
class FieldSort(Sort):
@@ -893,8 +893,8 @@ def __hash__(self):
893893

894894
def __eq__(self, other):
895895
return super(FieldSort, self).__eq__(other) and \
896-
self.field == other.field and \
897-
self.ascending == other.ascending
896+
self.field == other.field and \
897+
self.ascending == other.ascending
898898

899899

900900
class FixedFieldSort(FieldSort):

0 commit comments

Comments
 (0)