diff --git a/sanic/signals.py b/sanic/signals.py index c5e75d4537..5710f1edc7 100644 --- a/sanic/signals.py +++ b/sanic/signals.py @@ -218,7 +218,8 @@ def add( # type: ignore event = ".".join([*parts[:2], "<__trigger__>"]) try: - # Attaching __requirements__ and __trigger__ to the handler is deprecated and will be removed in v23.6. + # Attaching __requirements__ and __trigger__ to the handler + # is deprecated and will be removed in v23.6. handler.__requirements__ = condition # type: ignore handler.__trigger__ = trigger # type: ignore except AttributeError: