black/tests/data
Jelle Zijlstra cc48bc56ca normalize numeric literals (#454)
Fixes #452

I ended up making a couple of other normalizations to numeric literals
too (lowercase everything, don't allow leading or trailing . in floats,
remove redundant + sign in exponent). I don't care too much about those,
so I'm happy to change the behavior there.

For reference, here is Python's grammar for numeric literals:
https://docs.python.org/3/reference/lexical_analysis.html#numeric-literals
2018-08-17 15:03:58 +01:00
..
include_exclude_tests/b Move test data to data 2018-06-06 15:48:38 -07:00
cantfit.py Move test data to data 2018-06-06 15:48:38 -07:00
class_blank_parentheses.py Move test data to data 2018-06-06 15:48:38 -07:00
class_methods_new_line.py Move test data to data 2018-06-06 15:48:38 -07:00
comments2.py Move test data to data 2018-06-06 15:48:38 -07:00
comments3.py Move test data to data 2018-06-06 15:48:38 -07:00
comments4.py Move test data to data 2018-06-06 15:48:38 -07:00
comments5.py Move test data to data 2018-06-06 15:48:38 -07:00
comments.py Move test data to data 2018-06-06 15:48:38 -07:00
composition.py Move test data to data 2018-06-06 15:48:38 -07:00
debug_visitor.out Move INDENT value to the postponed prefix 2018-06-19 20:44:47 -07:00
debug_visitor.py Move test data to data 2018-06-06 15:48:38 -07:00
empty_lines.py Move test data to data 2018-06-06 15:48:38 -07:00
empty_pyproject.toml Support pyproject.toml 2018-06-06 17:02:10 -07:00
expression.diff Move test data to data 2018-06-06 15:48:38 -07:00
expression.py Move test data to data 2018-06-06 15:48:38 -07:00
fmtonoff2.py Move INDENT value to the postponed prefix 2018-06-19 20:44:47 -07:00
fmtonoff.py Look at actual parenthesis when generating ignored leafs. 2018-07-22 15:30:02 +01:00
force_py36.py Move test data to data 2018-06-06 15:48:38 -07:00
force_pyi.py Move test data to data 2018-06-06 15:48:38 -07:00
fstring.py Fix string normalization sometimes producing invalid fstrings (#327) 2018-06-09 12:30:49 -07:00
function2.py Move test data to data 2018-06-06 15:48:38 -07:00
function.py Move test data to data 2018-06-06 15:48:38 -07:00
import_spacing.py Move test data to data 2018-06-06 15:48:38 -07:00
numeric_literals_py2.py normalize numeric literals (#454) 2018-08-17 15:03:58 +01:00
numeric_literals.py normalize numeric literals (#454) 2018-08-17 15:03:58 +01:00
python2_unicode_literals.py Improve get_future_imports implementation. 2018-07-02 17:49:47 +01:00
python2.py Move test data to data 2018-06-06 15:48:38 -07:00
slices.py Move test data to data 2018-06-06 15:48:38 -07:00
string_prefixes.py Move test data to data 2018-06-06 15:48:38 -07:00
string_quotes.py Fix string normalization eating all backslashes above 3 2018-06-10 09:44:41 +01:00
stub.pyi Add blank line after constants in stub file (#360) 2018-06-16 11:53:45 -07:00