black/blib2to3/pgen2
Michael J. Sullivan 0ff718e1e2 Blacken .py files in blib2to3 (#1011)
* Blacken .py files in blib2to3

This is in preparation for adding type annotations to blib2to3 in
order to compiling it with mypyc (#1009, which I can rebase on top of
this).

To enforce that it stays blackened, I just cargo-culted the existing
test code used for validating formatting. It feels pretty clunky now,
though, so I can abstract the common logic out into a helper if that
seems better. (But error messages might be less clear then?)

* Tidy up the tests
2019-10-20 15:55:31 +02:00
..
__init__.py Initial commit 2018-03-14 12:55:32 -07:00
__init__.pyi Initial commit 2018-03-14 12:55:32 -07:00
conv.py Blacken .py files in blib2to3 (#1011) 2019-10-20 15:55:31 +02:00
driver.py Blacken .py files in blib2to3 (#1011) 2019-10-20 15:55:31 +02:00
driver.pyi Move tokenizer config onto grammar, rename flag 2019-05-09 17:59:29 +02:00
grammar.py Blacken .py files in blib2to3 (#1011) 2019-10-20 15:55:31 +02:00
grammar.pyi Move tokenizer config onto grammar, rename flag 2019-05-09 17:59:29 +02:00
literals.py Blacken .py files in blib2to3 (#1011) 2019-10-20 15:55:31 +02:00
literals.pyi Initial commit 2018-03-14 12:55:32 -07:00
parse.py Blacken .py files in blib2to3 (#1011) 2019-10-20 15:55:31 +02:00
parse.pyi Initial commit 2018-03-14 12:55:32 -07:00
pgen.py Blacken .py files in blib2to3 (#1011) 2019-10-20 15:55:31 +02:00
pgen.pyi Initial commit 2018-03-14 12:55:32 -07:00
token.py Blacken .py files in blib2to3 (#1011) 2019-10-20 15:55:31 +02:00
token.pyi Fix typechecking under mypy 0.730 (#1039) 2019-10-01 15:30:51 -07:00
tokenize.py Blacken .py files in blib2to3 (#1011) 2019-10-20 15:55:31 +02:00
tokenize.pyi Move tokenizer config onto grammar, rename flag 2019-05-09 17:59:29 +02:00