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

psf / black / 1115
96%

Build:
DEFAULT BRANCH: master
Ran 25 Aug 2020 09:16PM UTC
Jobs 5
Files 8
Run time 41s
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
1115

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 4935 relevant lines covered (95.36%)

3.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1115.1 (TEST_CMD="pre-commit run --all-files --show-diff-on-failure") 25 Aug 2020 09:16PM UTC 0
0.0
Travis Job 1115.1
2 1115.2 (TEST_CMD="coverage run -m unittest") 25 Aug 2020 09:16PM UTC 0
95.14
Travis Job 1115.2
3 1115.3 (TEST_CMD="coverage run -m unittest") 25 Aug 2020 09:16PM UTC 0
95.14
Travis Job 1115.3
4 1115.4 (TEST_CMD="coverage run -m unittest") 25 Aug 2020 09:16PM UTC 0
95.22
Travis Job 1115.4
5 1115.5 (TEST_CMD="coverage run -m unittest") 25 Aug 2020 09:16PM UTC 0
95.18
Travis Job 1115.5
Source Files on build 1115
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #1115
  • 9270a10f on github
  • Prev Build on master (#2072)
  • Next Build on master (#2076)
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