• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

psf / black / 2045
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/hatch-1.16.2
DEFAULT BRANCH: master
Ran 20 Aug 2020 05:03PM UTC
Jobs 4
Files 8
Run time 17s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2045

push

travis-ci

ambv
Re-implement magic trailing comma handling:

- when a trailing comma is specified in any bracket pair, that signals to Black
  that this bracket pair needs to be always exploded, e.g. presented as "one
  item per line";

- this causes some changes to previously formatted code that erroneously left
  trailing commas embedded into single-line expressions;

- internally, Black needs to be able to identify trailing commas that it put
  itself compared to pre-existing trailing commas. We do this by using/abusing
  lib2to3's `was_checked` attribute.  It's True for internally generated
  trailing commas and False for pre-existing ones (in fact, for all
  pre-existing leaves and nodes).

Fixes #1288

67 of 67 new or added lines in 2 files covered. (100.0%)

4627 of 4842 relevant lines covered (95.56%)

3.81 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2045.2 (TEST_CMD="coverage run -m unittest") 20 Aug 2020 05:03PM UTC 0
95.29
Travis Job 2045.2
3 2045.3 (TEST_CMD="coverage run -m unittest") 20 Aug 2020 05:03PM UTC 0
95.29
Travis Job 2045.3
4 2045.4 (TEST_CMD="coverage run -m unittest") 20 Aug 2020 05:03PM UTC 0
95.38
Travis Job 2045.4
5 2045.5 (TEST_CMD="coverage run -m unittest") 20 Aug 2020 05:03PM UTC 0
95.34
Travis Job 2045.5
Source Files on build 2045
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2045
  • 83e8059a on github
  • Prev Build on better_trailing_comma (#1083)
  • Next Build on better_trailing_comma (#1084)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc