GeezerVison is showing github.com — Update readme and authors · suliuzh/python-github3@e0a59fd
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: AUTHORS.rst +4Lines changed: 4 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | python-github3 is written and maintained by **David Medina** and | | 2 | + | 2 | 3 | various contributors: | 3 | 4 |
| 4 | 5 | Development Lead | @@ -25,3 +26,6 @@ Patches and Suggestions | 25 | 26 | | 26 | 27 | | 27 | 28 | | | 29 | + | | 30 | + | | 31 | + |
Collapse file Copy file name to clipboardExpand all lines: README.rst +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -48,7 +48,7 @@ Achievements | 48 | 48 | TODO | 49 | 49 | ----- | 50 | 50 |
| 51 | | -- Services: Issues, Events | | 51 | +- Services: Events | 52 | 52 | - Oauth authorization API (service?) | 53 | 53 | - Proxy methods into resources (e.g copitux.followers) | 54 | 54 |
| |
Collapse file Copy file name to clipboardExpand all lines: pygithub3/requests/issues/labels.py +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -20,7 +20,7 @@ class Create(Request): | 20 | 20 | resource = Label | 21 | 21 | body_schema = { | 22 | 22 | 'schema': ('name', 'color'), | 23 | | - 'required': ('name', 'color' ) | | 23 | + 'required': ('name', 'color') | 24 | 24 | } | 25 | 25 |
| 26 | 26 | def clean_body(self): | @@ -38,7 +38,7 @@ class Update(Create): | 38 | 38 | resource = Label | 39 | 39 | body_schema = { | 40 | 40 | 'schema': ('name', 'color'), | 41 | | - 'required': ('name', 'color' ) | | 41 | + 'required': ('name', 'color') | 42 | 42 | } | 43 | 43 |
| 44 | 44 |
| |
Collapse file Copy file name to clipboardExpand all lines: pygithub3/tests/services/test_issues.py +2-3Lines changed: 2 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -137,7 +137,7 @@ def test_CREATE_with_invalid_color(self, request_method): | 137 | 137 | request_method.return_value = mock_response('post') | 138 | 138 | # invalid color | 139 | 139 | with self.assertRaises(ValidationError): | 140 | | - args={'name': 'bug', 'color': 'FF00'} | | 140 | + args = {'name': 'bug', 'color': 'FF00'} | 141 | 141 | self.lb.create(args) | 142 | 142 |
| 143 | 143 | def test_UPDATE(self, request_method): | @@ -150,8 +150,7 @@ def test_UPDATE_with_invalid_color(self, request_method): | 150 | 150 | request_method.return_value = mock_response('post') | 151 | 151 | # invalid color | 152 | 152 | with self.assertRaises(ValidationError): | 153 | | - args={'name': 'critical', | 154 | | - 'color': 'FF00',} | | 153 | + args = {'name': 'critical', 'color': 'FF00'} | 155 | 154 | self.lb.update('bug', args) | 156 | 155 |
| 157 | 156 | def test_DELETE(self, request_method): | |
|