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

psf / black / 2074
95%
master: 96%

Build:
Build:
LAST BUILD BRANCH: pre-commit-ci-update-config
DEFAULT BRANCH: master
Ran 25 Aug 2020 08:32PM UTC
Jobs 5
Files 8
Run time 37s
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
2074

push

travis-ci

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.

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

4708 of 4935 relevant lines covered (95.4%)

3.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2074.1 (TEST_CMD="pre-commit run --all-files --show-diff-on-failure") 25 Aug 2020 08:32PM UTC 0
0.0
Travis Job 2074.1
2 2074.2 (TEST_CMD="coverage run -m unittest") 25 Aug 2020 08:33PM UTC 0
95.14
Travis Job 2074.2
3 2074.3 (TEST_CMD="coverage run -m unittest") 25 Aug 2020 08:32PM UTC 0
95.14
Travis Job 2074.3
4 2074.4 (TEST_CMD="coverage run -m unittest") 25 Aug 2020 08:33PM UTC 0
95.22
Travis Job 2074.4
5 2074.5 (TEST_CMD="coverage run -m unittest") 25 Aug 2020 08:33PM UTC 0
95.18
Travis Job 2074.5
Source Files on build 2074
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2074
  • f1ee36ec on github
  • Prev Build on fix-docstring-reindentation (#1112)
  • Next Build on fix-docstring-reindentation (#1113)
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