> Is there any reason flakes8_tuple should report the last line of this code 
> below
>
> class ReferralsView(FormView):  # !qa: D101 schema = ReferralsSchema()
>  buttons = (Button(name='send_invites',
> title
> ='Send Invites'), )

Looks like a bug to me, their bug tracker is at
https://github.com/ar4s/flake8_tuple.

Though this code looks pretty weird and not how I'd format it.  Maybe
something like this?

class ReferralsView(FormView):  # !qa: D101 schema = ReferralsSchema()
    buttons = (
        Button(
            name='send_invites',
            title='Send Invites',
        ),
    )

Anthony
_______________________________________________
code-quality mailing list
code-quality@python.org
https://mail.python.org/mailman/listinfo/code-quality

Reply via email to