black/tests
Łukasz Langa 5fb5cc8c2b Only use trailing commas in function signatures when it's safe
Trailing commas after * or ** in a function signature are only safe for Python 3.6
code.  So now Black checks whether the file was already Python 3.6 to begin
with.  If so, trailing commas are used in such cases.  Otherwise, they're not.

When * and ** don't appear in a function signature, the trailing comma is
always safe.

Fixes #8
2018-03-15 19:44:09 -07:00
..
.flake8 Initial commit 2018-03-14 12:55:32 -07:00
cantfit.py Initial commit 2018-03-14 12:55:32 -07:00
comments2.py Initial commit 2018-03-14 12:55:32 -07:00
comments.py Initial commit 2018-03-14 12:55:32 -07:00
composition.py Initial commit 2018-03-14 12:55:32 -07:00
expression.py Only use trailing commas in function signatures when it's safe 2018-03-15 19:44:09 -07:00
fstring.py Only use trailing commas in function signatures when it's safe 2018-03-15 19:44:09 -07:00
function.py Only use trailing commas in function signatures when it's safe 2018-03-15 19:44:09 -07:00
import_spacing.py Fix invalid spacing of dots in relative imports 2018-03-15 11:21:53 -07:00
test_black.py Only use trailing commas in function signatures when it's safe 2018-03-15 19:44:09 -07:00