
* Made hex lower case * Refactored numeric formatting section * Redid some refactoring and removed bloat * Removed additions from test_requirements.txt * Primer now expects expected changes * Undid some refactoring * added to changelog * Update src/black/__init__.py Co-authored-by: Zsolt Dollenstein <zsol.zsol@gmail.com> Co-authored-by: Zsolt Dollenstein <zsol.zsol@gmail.com> Co-authored-by: Cooper Lees <me@cooperlees.com>
24 lines
268 B
Python
24 lines
268 B
Python
#!/usr/bin/env python3.6
|
|
|
|
x = 123456789
|
|
x = 1_2_3_4_5_6_7
|
|
x = 1E+1
|
|
x = 0xb1AcC
|
|
x = 0.00_00_006
|
|
x = 12_34_567J
|
|
x = .1_2
|
|
x = 1_2.
|
|
|
|
# output
|
|
|
|
#!/usr/bin/env python3.6
|
|
|
|
x = 123456789
|
|
x = 1_2_3_4_5_6_7
|
|
x = 1e1
|
|
x = 0xb1acc
|
|
x = 0.00_00_006
|
|
x = 12_34_567j
|
|
x = 0.1_2
|
|
x = 1_2.0
|