hanging indents need to start on a new line or else you need to use vertical alignment. This would fix pyflakes warnings:

````
ccounts_field.queryset = (
    PaymentAccount.objects
    .filter(Q(user=user, inactive=False, agreed_tos=True) ...)
````