Skip to content

Commit 6ff4f1a

Browse files
Merge pull request #212 from ManoManoTech/hotfix/mypy-signature-import-v0.0.33
hotfix: move Signature import out of TYPE_CHECKING block
2 parents 70717b2 + f3db746 commit 6ff4f1a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/firefighter/incidents/tasks/updateoncall.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@
33
import logging
44
from typing import TYPE_CHECKING, Any
55

6-
from celery import shared_task
6+
from celery import Signature, shared_task
77
from django.conf import settings
88

99
from firefighter.slack.slack_templating import user_slack_handle_or_name
1010

1111
if TYPE_CHECKING:
12-
from celery import Signature
13-
1412
from firefighter.incidents.models.user import User
1513

1614
if settings.ENABLE_PAGERDUTY:

0 commit comments

Comments
 (0)