PEP8: few more changes
Taken MR comments into account: * `and` is considered a binary operator, thus put at the beginning of the line when splitting a line, * same for `+`, * same for `.` (different reasons).
This commit is contained in:
parent
88bccc0e60
commit
6d68f6638f
8 changed files with 31 additions and 31 deletions
|
@ -39,8 +39,8 @@ def autocomplete(request):
|
|||
flat='True')) \
|
||||
+ list(queries['users'].values_list('profile__login_clipper',
|
||||
flat='True'))
|
||||
queries['clippers'] = queries['clippers'].\
|
||||
exclude(username__in=usernames).distinct()
|
||||
queries['clippers'] = queries['clippers'] \
|
||||
.exclude(username__in=usernames).distinct()
|
||||
# add clippers
|
||||
|
||||
data.update(queries)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue