let pre-commit fix some stuff

This commit is contained in:
dmlb2000
2016-11-03 15:54:48 -07:00
parent 7f057b0bd5
commit 84b1fb6827
2 changed files with 5 additions and 1 deletions

View File

@ -7,7 +7,6 @@ from collections import OrderedDict
import simplejson
def _get_pretty_format(contents, indent, sort_keys=True, top_keys=[]):
def pairs_first(pairs):
before = [pair for pair in pairs if pair[0] in top_keys]
@ -50,10 +49,12 @@ def parse_indent(s):
'Negative integer supplied to construct JSON indentation delimiter. ',
)
def parse_topkeys(s):
# type: (str) -> array
return s.split(',')
def pretty_format_json(argv=None):
parser = argparse.ArgumentParser()
parser.add_argument(