mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-04 19:26:52 +00:00
preserve float formatting when pretty formatting
This commit is contained in:
parent
5191f112df
commit
6d80bf563e
3 changed files with 79 additions and 1 deletions
|
|
@ -23,6 +23,7 @@ def test_parse_num_to_int():
|
|||
('unsorted_pretty_formatted_json.json', 1),
|
||||
('non_ascii_pretty_formatted_json.json', 1),
|
||||
('pretty_formatted_json.json', 0),
|
||||
('float_formatting.json', 0),
|
||||
),
|
||||
)
|
||||
def test_main(filename, expected_retval):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue