| commit | c7ab1976450968562b61ab9975d5573efe90c08a | [log] [tgz] |
|---|---|---|
| author | dmlb2000 <dmlb2000@gmail.com> | Thu Nov 03 15:49:04 2016 -0700 |
| committer | dmlb2000 <dmlb2000@gmail.com> | Thu Nov 03 15:49:04 2016 -0700 |
| tree | bfe7099a8110735aceb076f6e8ed361c207550ae | |
| parent | d06a515ce1c2804d0a779d796c5f7d6773f6fec7 [diff] [blame] |
don't need to blow away the space here
diff --git a/pre_commit_hooks/pretty_format_json.py b/pre_commit_hooks/pretty_format_json.py index 1058e21..a1dccc0 100644 --- a/pre_commit_hooks/pretty_format_json.py +++ b/pre_commit_hooks/pretty_format_json.py
@@ -24,6 +24,7 @@ indent=indent ) + "\n" # dumps don't end with a newline + def _autofix(filename, new_contents): print("Fixing file {0}".format(filename)) with open(filename, 'w') as f: