[autopep8] W504 - Fix line break after binary operator

authorNsukami Patrick <ptrck at nskm dot xyz>
changesetea7b9b6c2b09
branchdefault
phasepublic
hiddenno
parent revision#cf47d1d50b45 [autopep8] W391 - Remove trailing blank lines
child revision#fa1e0146734f Flake8: fix [E128] continuation line under-indented for visual indent
files modified by this revision
cubicweb_elasticsearch/testutils.py
# HG changeset patch
# User Nsukami Patrick <ptrck at nskm dot xyz>
# Date 1571055798 0
# Mon Oct 14 12:23:18 2019 +0000
# Node ID ea7b9b6c2b09a177ba9a3d35c06e53a14650faae
# Parent cf47d1d50b45836fa63f24b116eba9b906c29978
[autopep8] W504 - Fix line break after binary operator

diff --git a/cubicweb_elasticsearch/testutils.py b/cubicweb_elasticsearch/testutils.py
@@ -7,24 +7,24 @@
1 
2  from cubicweb_elasticsearch.entities import IFullTextIndexSerializable
3 
4 
5  class BlogEntryFTIAdapter(IFullTextIndexSerializable):
6 -    __select__ = (IFullTextIndexSerializable.__select__ &
7 -                  is_instance('BlogEntry'))
8 +    __select__ = (IFullTextIndexSerializable.__select__
9 +                  & is_instance('BlogEntry'))
10      custom_indexable_attributes = ('title', 'content')
11 
12 
13  class BlogFTIAdapter(IFullTextIndexSerializable):
14 -    __select__ = (IFullTextIndexSerializable.__select__ &
15 -                  is_instance('Blog'))
16 +    __select__ = (IFullTextIndexSerializable.__select__
17 +                  & is_instance('Blog'))
18      custom_indexable_attributes = ('title', )
19 
20 
21  class PersonFTIAdapter(IFullTextIndexSerializable):
22 -    __select__ = (IFullTextIndexSerializable.__select__ &
23 -                  is_instance('Person'))
24 +    __select__ = (IFullTextIndexSerializable.__select__
25 +                  & is_instance('Person'))
26 
27      @property
28      def es_id(self):
29          return self.entity.age
30