style: format python files with isort and double-quote-string-fixer

This commit is contained in:
Fu Hanxi
2021-01-26 10:49:01 +08:00
parent dc8402ea61
commit 0146f258d7
276 changed files with 8241 additions and 8162 deletions

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env python
import sys
download_url = sys.argv[1]
output_filename = sys.argv[2]
if (sys.version_info > (3, 0)):
@@ -8,5 +9,5 @@ if (sys.version_info > (3, 0)):
else:
import urllib2
response = urllib2.urlopen(download_url)
with open(output_filename, "w") as output_file:
with open(output_filename, 'w') as output_file:
output_file.write(response.read())