Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b3f1aa7

Browse files
🎨 fix style with isort
1 parent bd13d6d commit b3f1aa7

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

‎gitlab_webhooks/constants.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
from django.utils.translation import gettext_lazy as _
55

6-
76
# Headers
87
TOKEN_HEADER = "HTTP_X_GITLAB_TOKEN"
98
EVENT_HEADER = "HTTP_X_GITLAB_EVENT"

‎gitlab_webhooks/views.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
from django.conf import settings
44
from django.core.exceptions import ImproperlyConfigured
55
from django.dispatch import Signal
6+
from django.http import HttpRequest, JsonResponse
67
from django.utils.decorators import method_decorator
78
from django.views import View
8-
from django.http import HttpRequest, JsonResponse
99
from django.views.decorators.csrf import csrf_exempt
1010

1111
from . import constants, signals

‎tests/test_views.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import pytest
44
from django.core.exceptions import ImproperlyConfigured
55
from django.test import RequestFactory
6-
from gitlab_webhooks.views import WebhookView
76
from gitlab_webhooks import constants
7+
from gitlab_webhooks.views import WebhookView
88

99

1010
class TestWebhookView:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /