Skip to content
This repository was archived by the owner on Aug 28, 2023. It is now read-only.

Commit 14735d1

Browse files
committed
Linting
1 parent 04f27a8 commit 14735d1

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

src/sentry_github/plugin.py

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@
1717

1818
class GitHubOptionsForm(forms.Form):
1919
repo = forms.CharField(
20-
label=_('Repository Name'),
21-
widget=forms.TextInput(attrs={'placeholder': 'e.g. getsentry/sentry'}),
22-
help_text=_('Enter your repository name, including the owner.'))
20+
label=_('Repository Name'),
21+
widget=forms.TextInput(attrs={'placeholder': 'e.g. getsentry/sentry'}),
22+
help_text=_('Enter your repository name, including the owner.'))
2323
endpoint = forms.CharField(
24-
label=_('GitHub API Endpoint'),
25-
widget=forms.TextInput(attrs={'placeholder': 'https://api.github.com'}),
26-
initial='https://api.github.com',
27-
help_text=_('Enter the base URL to the GitHub API.'))
24+
label=_('GitHub API Endpoint'),
25+
widget=forms.TextInput(attrs={'placeholder': 'https://api.github.com'}),
26+
initial='https://api.github.com',
27+
help_text=_('Enter the base URL to the GitHub API.'))
2828
github_url = forms.CharField(
29-
label=_('GitHub Base URL'),
30-
widget=forms.TextInput(attrs={'placeholder': 'https://github.com'}),
31-
initial='https://github.com',
32-
help_text=_('Enter the base URL to the GitHub for generating issue links.'))
29+
label=_('GitHub Base URL'),
30+
widget=forms.TextInput(attrs={'placeholder': 'https://github.com'}),
31+
initial='https://github.com',
32+
help_text=_('Enter the base URL to the GitHub for generating issue links.'))
3333

3434
def clean_endpoint(self):
3535
data = self.cleaned_data['endpoint']
@@ -75,14 +75,14 @@ def create_issue(self, request, group, form_data, **kwargs):
7575
url = '%s/repos/%s/issues' % (endpoint, repo,)
7676

7777
json_data = {
78-
"title": form_data['title'],
79-
"body": form_data['description'],
80-
# "assignee": form_data['asignee'],
81-
# "milestone": 1,
82-
# "labels": [
83-
# "Label1",
84-
# "Label2"
85-
# ]
78+
"title": form_data['title'],
79+
"body": form_data['description'],
80+
# "assignee": form_data['asignee'],
81+
# "milestone": 1,
82+
# "labels": [
83+
# "Label1",
84+
# "Label2"
85+
# ]
8686
}
8787

8888
req_headers = {

0 commit comments

Comments
 (0)