Skip to content

Commit d12cef9

Browse files
committed
Plug in for GitHub
Signed-off-by: ganeshhubale <ganeshhubale03@gmail.com>
1 parent 0da4429 commit d12cef9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

plugins/github.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
import os
44

55

6-
list_of_pull_requests=[]
6+
list_of_pull_requests = []
7+
8+
9+
def get_pull_requests(username, repository):
710

8-
def get_pull_requests(username,repository):
911
github_url = "https://api.github.com"
1012
r = requests.get(os.path.join(github_url, "repos", repository, "pulls"))
1113
js = json.loads(r.content)

0 commit comments

Comments
 (0)