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

psf / black / 256
96%

Build:
DEFAULT BRANCH: master
Ran 20 Oct 2019 01:56PM UTC
Jobs 6
Files 8
Run time 2min
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
256

push

travis-ci-com

ambv
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

33 of 33 new or added lines in 1 file covered. (100.0%)

6514 of 6798 relevant lines covered (95.82%)

2.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 256.1 (TEST_CMD="mypy black.py blackd.py tests/test_black.py") 20 Oct 2019 01:56PM UTC 0
Travis Job 256.1
2 256.2 (TEST_CMD="black --check --verbose .") 20 Oct 2019 01:56PM UTC 0
Travis Job 256.2
3 256.3 (TEST_CMD="flake8 black.py blackd.py tests/test_black.py") 20 Oct 2019 01:56PM UTC 0
Travis Job 256.3
4 256.4 (TEST_CMD="coverage run tests/test_black.py") 20 Oct 2019 01:58PM UTC 0
95.65
Travis Job 256.4
5 256.5 (TEST_CMD="coverage run tests/test_black.py") 20 Oct 2019 01:58PM UTC 0
95.65
Travis Job 256.5
6 256.6 (TEST_CMD="coverage run tests/test_black.py") 20 Oct 2019 01:58PM UTC 0
95.77
Travis Job 256.6
Source Files on build 256
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #256
  • 0ff718e1 on github
  • Prev Build on master (#1213)
  • Next Build on master (#1214)
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