##// END OF EJS Templates
Changes from linting github tools
Thomas Kluyver -
Show More
@@ -66,7 +66,7 b' def make_auth_header():'
66 66 def post_issue_comment(project, num, body):
67 67 url = 'https://api.github.com/repos/{project}/issues/{num}/comments'.format(project=project, num=num)
68 68 payload = json.dumps({'body': body})
69 r = requests.post(url, data=payload, headers=make_auth_header())
69 requests.post(url, data=payload, headers=make_auth_header())
70 70
71 71 def post_gist(content, description='', filename='file', auth=False):
72 72 """Post some text to a Gist, and return the URL."""
@@ -12,11 +12,9 b' from __future__ import print_function'
12 12 import errno
13 13 from glob import glob
14 14 import io
15 import json
16 15 import os
17 16 import pickle
18 17 import re
19 import requests
20 18 import shutil
21 19 import time
22 20 from subprocess import call, check_call, check_output, PIPE, STDOUT, CalledProcessError
General Comments 0
You need to be logged in to leave comments. Login now