zerver/webhooks: Remove absolute_import.

This commit is contained in:
rht 2017-09-27 10:43:47 +02:00 committed by Tim Abbott
parent e239e97351
commit 7115a29bee
49 changed files with 0 additions and 49 deletions

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from typing import Dict, Any, Text
from django.http import HttpRequest, HttpResponse
from django.utils.translation import ugettext as _

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
import re
from django.http import HttpRequest, HttpResponse

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import re
import logging
from typing import Any, Dict, Text

View File

@ -1,6 +1,5 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from django.http import HttpRequest, HttpResponse
from zerver.models import get_client, UserProfile
from zerver.lib.actions import check_send_message

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
from typing import Any, Mapping, Text, Optional

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
import re
from functools import partial
from six.moves import zip

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from django.http import HttpRequest, HttpResponse
from typing import Any, Dict, Text

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from django.utils.translation import ugettext as _
from django.http import HttpRequest, HttpResponse

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from django.utils.translation import ugettext as _
from zerver.lib.actions import check_send_message
from zerver.lib.response import json_success, json_error

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
from django.utils.translation import ugettext as _
from zerver.lib.actions import check_send_message
from zerver.lib.response import json_success, json_error

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from django.http import HttpRequest, HttpResponse
from zerver.models import get_client, UserProfile
from zerver.lib.actions import check_send_message

View File

@ -1,5 +1,4 @@
"""Webhooks for external integrations."""
from __future__ import absolute_import
from django.http import HttpRequest, HttpResponse
from django.utils.translation import ugettext as _

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
from django.conf import settings
from zerver.models import get_client, UserProfile
from zerver.lib.response import json_success

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
from django.http import HttpRequest, HttpResponse
from django.views.decorators.csrf import csrf_exempt
from .github_webhook.view import api_github_webhook

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
import re
import logging
from functools import partial

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
from functools import partial
from zerver.lib.actions import check_send_message
from zerver.lib.response import json_success

View File

@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
from __future__ import absolute_import
from django.utils.translation import ugettext as _
from zerver.lib.actions import check_send_message
from zerver.lib.response import json_success, json_error

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
from django.utils.translation import ugettext as _
from zerver.lib.actions import check_send_message
from zerver.lib.response import json_success, json_error

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
from django.utils.translation import ugettext as _
from django.http import HttpRequest, HttpResponse

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
from django.utils.translation import ugettext as _
from zerver.lib.actions import check_send_message
from zerver.lib.response import json_success, json_error

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from django.utils.translation import ugettext as _
from zerver.lib.actions import check_send_message
from zerver.lib.response import json_success, json_error

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from typing import Text
from django.http import HttpRequest, HttpResponse

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
from django.utils.translation import ugettext as _
from zerver.lib.actions import check_send_message
from zerver.lib.response import json_success, json_error

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
from django.utils.translation import ugettext as _
from typing import Any, Callable, Dict
from django.http import HttpRequest, HttpResponse

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from typing import Any, Dict, List, Optional, Text, Tuple
from django.utils.translation import ugettext as _

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
from datetime import datetime
from typing import Any, Dict, List, Optional, Callable, Tuple, Text

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from django.utils.translation import ugettext as _
from zerver.lib.actions import check_send_message
from zerver.lib.response import json_success, json_error

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from typing import Any, Callable, Dict, Iterable, Optional, Tuple, Text
from django.utils.translation import ugettext as _

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
from django.utils.translation import ugettext as _
from zerver.lib.actions import check_send_message
from zerver.lib.response import json_success, json_error

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from zerver.lib.actions import check_send_message
from zerver.lib.response import json_success

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
from django.utils.translation import ugettext as _
from zerver.lib.actions import check_send_message
from zerver.lib.response import json_success, json_error

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from typing import Any, Dict, Text
from django.utils.translation import ugettext as _

View File

@ -1,5 +1,4 @@
"""Webhooks for external integrations."""
from __future__ import absolute_import
from django.http import HttpRequest, HttpResponse
from django.utils.translation import ugettext as _

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from django.http import HttpRequest, HttpResponse
from django.utils.translation import ugettext as _

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from django.http import HttpRequest, HttpResponse
from zerver.models import UserProfile
from zerver.lib.actions import check_send_message

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
from django.utils.translation import ugettext as _
from django.http import HttpRequest, HttpResponse
from django.utils.translation import ugettext as _

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from django.http import HttpRequest, HttpResponse
from django.utils.translation import ugettext as _

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from django.utils.translation import ugettext as _
from zerver.lib.actions import check_send_message
from zerver.lib.response import json_success, json_error

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from django.utils.translation import ugettext as _
from zerver.lib.actions import check_send_message
from zerver.lib.response import json_success, json_error

View File

@ -18,7 +18,6 @@ etc. If no there's no meaningful emoji for certain event, the defaults are used:
subject of US/task should be in bold.
"""
from __future__ import absolute_import
from typing import Any, Dict, List, Mapping, Optional, Tuple, Text
from django.utils.translation import ugettext as _

View File

@ -1,5 +1,4 @@
# Webhooks for teamcity integration
from __future__ import absolute_import
from django.db.models import Q
from django.http import HttpRequest, HttpResponse

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from django.utils.translation import ugettext as _
from django.http import HttpRequest, HttpResponse
from zerver.models import UserProfile

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from django.http import HttpRequest, HttpResponse

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
import ujson
from typing import Mapping, Any, Tuple, Text, Optional
from django.utils.translation import ugettext as _

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
import re
from datetime import datetime
from typing import Any, Dict, List

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from django.utils.translation import ugettext as _
from django.http import HttpRequest, HttpResponse
from zerver.models import get_client, UserProfile

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from zerver.lib.actions import check_send_message
from zerver.lib.response import json_success
from zerver.decorator import REQ, has_request_variables, api_key_only_webhook_view

View File

@ -1,4 +1,3 @@
from __future__ import absolute_import
from django.utils.translation import ugettext as _
from typing import Any, Callable, Dict
from django.http import HttpRequest, HttpResponse

View File

@ -1,5 +1,4 @@
# Webhooks for external integrations.
from __future__ import absolute_import
from zerver.models import get_client, UserProfile
from zerver.lib.actions import check_send_message
from zerver.lib.response import json_success