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

psf / black / 1275
96%

Build:
DEFAULT BRANCH: master
Ran 28 Oct 2019 07:53PM UTC
Jobs 4
Files 8
Run time 32s
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
1275

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

6638 of 6932 relevant lines covered (95.76%)

2.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1275.1 (TEST_CMD="pre-commit run --all-files") 28 Oct 2019 07:53PM UTC 0
Travis Job 1275.1
2 1275.2 (TEST_CMD="coverage run tests/test_black.py") 28 Oct 2019 07:53PM UTC 0
95.73
Travis Job 1275.2
3 1275.3 (TEST_CMD="coverage run tests/test_black.py") 28 Oct 2019 07:53PM UTC 0
95.73
Travis Job 1275.3
4 1275.4 (TEST_CMD="coverage run tests/test_black.py") 28 Oct 2019 07:53PM UTC 0
95.85
Travis Job 1275.4
Source Files on build 1275
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1275
  • 23fec8b0 on github
  • Prev Build on master (#317)
  • Next Build on master (#318)
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