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

psf / black / 1275 / 4
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 28 Oct 2019 07:53PM UTC
Files 4
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

28 Oct 2019 07:51PM UTC coverage: 95.853% (+0.2%) from 95.686%
TEST_CMD="coverage run tests/test_black.py"

push

travis-ci

ambv
Fix fmt on/off when multiple exist in leaf prefix (#1086)

The old behavior would detect the existence of a `# fmt: on` in a leaf
node's comment prefix and immediately mark the node as formatting-on,
even if a subsequent `# fmt: off` in the same comment prefix would turn
it back off. This change modifies that logic to track the state through
the entire prefix and take the final state.

Note that this does not fully solve on/off behavior, since any _comment_
lines between the off/on are still formatted. We may need to add
virtual leaf nodes to truly solve that. I will leave that for a separate
commit/PR.

Fixes #1005

3328 of 3472 relevant lines covered (95.85%)

0.96 hits per line

Source Files on job 1275.4 (TEST_CMD="coverage run tests/test_black.py")
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 310
  • Travis Job 1275.4
  • 23fec8b0 on github
  • Prev Job for TEST_CMD="coverage run tests/test_black.py" on master (#317.3)
  • Next Job for TEST_CMD="coverage run tests/test_black.py" on master (#318.3)
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

© 2025 Coveralls, Inc