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

psf / black / 1852
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: fix-pyinstaller-macos-4823
DEFAULT BRANCH: master
Ran 17 May 2020 04:31PM UTC
Jobs 1
Files 0
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

pending completion
1852

push

travis-ci

cooperlees
Add black-primer unittests

- Get this tool covered with some decent unittests for all unittests wins
- Have a CLI and lib test class
- Import it from `test_black.py` so we always run tests
- Revert typing asyncio.Queue as Queue[str] so we can work in 3.6
- **mypy**: Until black > 3.6 disallow_any_generics=False for primer code

Test:
- Run tests: `coverage run tests/test_primer.py` or `coverage run -m unittest`
```
(b) cooper-mbp1:black cooper$ coverage report
Name                      Stmts   Miss  Cover
---------------------------------------------
src/black_primer/cli.py      49      8    84%
src/black_primer/lib.py     148     28    81%
tests/test_primer.py        114      1    99%
---------------------------------------------
TOTAL                       311     37    88%
```

0 of 0 relevant lines covered (NaN%)

0.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1852.1 (TEST_CMD="pre-commit run --all-files") 17 May 2020 04:31PM UTC 0
0.0
Travis Job 1852.1
Source Files on build 1852
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1852
  • aae64f13 on github
  • Prev Build on primer_tests (#890)
  • Next Build on primer_tests (#1854)
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