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

ambv / black / 991 / 5
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: brackets
DEFAULT BRANCH: master
Ran 14 Apr 2019 08:49PM UTC
Files 3
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

14 Apr 2019 08:47PM UTC coverage: 95.961% (+0.03%) from 95.929%
TEST_CMD="coverage run tests/test_black.py"

Pull #804

travis-ci

web-flow
Change how venv path is modified in vim plugin

- Check if black venv path is not already in `sys.path`
- Append (not insert) path so that black doesn't incorrectly import backports (e.g. `typing`)

Avoids this error if `typing` is present in venv:
```
Traceback (most recent call last):
  File "<string>", line 56, in <module>
  File "/home/josh/.virtualenvs/default/lib/python3.7/site-packages/black.py", line 19, in <module>
    from typing import (
  File "/home/josh/.virtualenvs/default/lib/python3.7/site-packages/typing.py", line 1356, in <module>
    class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
  File "/home/josh/.virtualenvs/default/lib/python3.7/site-packages/typing.py", line 1004, in __new__
    self._abc_registry = extra._abc_registry
AttributeError: type object 'Callable' has no attribute '_abc_registry'
```
Pull Request #804: Change how venv path is modified in vim plugin

3041 of 3169 relevant lines covered (95.96%)

0.96 hits per line

Source Files on job 991.5 (TEST_CMD="coverage run tests/test_black.py")
  • Tree
  • List 0
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 748
  • Travis Job 991.5
  • 79b3b233 on github
  • Prev Job for TEST_CMD="coverage run tests/test_black.py" on path-fix (#989.4)
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