Derived from the flake8-django linter.
What it does#
Checks that Django's
@receiver decorator is listed first, prior to
any other decorators.
Why is this bad?#
@receiver decorator is special in that it does not return
a wrapped function. Rather,
@receiver connects the decorated function
to a signal. If any other decorators are listed before
the decorated function will not be connected to the signal.