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

psf / black / 1113 / 4
95%
master: 96%

Build:
Build:
LAST BUILD BRANCH: fix-fmt-skip-class-header
DEFAULT BRANCH: master
Ran 25 Aug 2020 08:33PM UTC
Files 8
Run time 0s
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

25 Aug 2020 08:26PM UTC coverage: 95.225% (+0.09%) from 95.138%
TEST_CMD="coverage run -m unittest"

push

travis-ci-com

ambv
Improve docstring re-indentation handling

This addresses a few crashers, namely:

* producing non-equivalent code due to mangling escaped newlines,

* invalid hugging quote characters in the docstring body to the docstring outer
  triple quotes (causing a quadruple quote which is a syntax error),

* lack of handling for docstrings that start on the same line as the `def`, and

* invalid stripping of outer triple quotes when the docstring contained
  a string prefix.

As a bonus, tests now also run when string normalization is disabled.

4706 of 4942 relevant lines covered (95.22%)

0.95 hits per line

Source Files on job 1113.4 (TEST_CMD="coverage run -m unittest")
  • Tree
  • List 0
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1588
  • Travis Job 1113.4
  • f1ee36ec on github
  • Prev Job for TEST_CMD="coverage run -m unittest" on fix-docstring-reindentation (#2074.2)
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