Skip to content

Commit e0a59fd

Browse files
committed
Update readme and authors
Also some PEP8
1 parent 107b12b commit e0a59fd

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

AUTHORS.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
python-github3 is written and maintained by **David Medina** and
2+
23
various contributors:
34

45
Development Lead
@@ -25,3 +26,6 @@ Patches and Suggestions
2526
- Nathaniel Williams <nat.williams@gmail.com>
2627
- Alejandro Gómez <alejandroogomez@gmail.com>
2728
- Stefano Rivera <stefano@rivera.za.net>
29+
- Ouertani Mohammed Amine <tsl.hacker@gmail.com>
30+
- Conor Branagan <conor.branagan@gmail.com>
31+
- Ralph Bean <rbean@redhat.com>

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Achievements
4848
TODO
4949
-----
5050

51-
- Services: Issues, Events
51+
- Services: Events
5252
- Oauth authorization API (service?)
5353
- Proxy methods into resources (e.g copitux.followers)
5454

pygithub3/requests/issues/labels.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Create(Request):
2020
resource = Label
2121
body_schema = {
2222
'schema': ('name', 'color'),
23-
'required': ('name', 'color' )
23+
'required': ('name', 'color')
2424
}
2525

2626
def clean_body(self):
@@ -38,7 +38,7 @@ class Update(Create):
3838
resource = Label
3939
body_schema = {
4040
'schema': ('name', 'color'),
41-
'required': ('name', 'color' )
41+
'required': ('name', 'color')
4242
}
4343

4444

pygithub3/tests/services/test_issues.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def test_CREATE_with_invalid_color(self, request_method):
137137
request_method.return_value = mock_response('post')
138138
# invalid color
139139
with self.assertRaises(ValidationError):
140-
args={'name': 'bug', 'color': 'FF00'}
140+
args = {'name': 'bug', 'color': 'FF00'}
141141
self.lb.create(args)
142142

143143
def test_UPDATE(self, request_method):
@@ -150,8 +150,7 @@ def test_UPDATE_with_invalid_color(self, request_method):
150150
request_method.return_value = mock_response('post')
151151
# invalid color
152152
with self.assertRaises(ValidationError):
153-
args={'name': 'critical',
154-
'color': 'FF00',}
153+
args = {'name': 'critical', 'color': 'FF00'}
155154
self.lb.update('bug', args)
156155

157156
def test_DELETE(self, request_method):

0 commit comments

Comments
 (0)