black/tests
Michael J. Sullivan 6fe800933d Fix issue with type comments on lines with trailing commas (#1058)
The code introduced in #1027 to detect whether a type comment appeared
after a regular comment in a Line would spuriously misfire when a leaf
was in the comments dict but had an empty list of comments. This can
occur as an artifact of how comments on trailing commas are handled,
it seems.

(This was discovered trying to test black out on mypy.)
2019-10-10 11:50:51 -07:00
..
data Fix issue with type comments on lines with trailing commas (#1058) 2019-10-10 11:50:51 -07:00
empty.toml Add --target-version option to allow users to choose targeted Python versions (#618) 2019-02-06 18:43:50 -08:00
test_black.py Change variable in README according to the PEP8 (#1002) 2019-09-04 09:11:07 +01:00