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
12
testing/resources/float_formatting.json
Normal file
12
testing/resources/float_formatting.json
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"exponential": 1e9,
|
||||
"high_precision": 4.4257052820783003,
|
||||
"list": [
|
||||
1e9,
|
||||
4.4257052820783003
|
||||
],
|
||||
"mapping": {
|
||||
"exponential": 1e9,
|
||||
"high_precision": 4.4257052820783003
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue