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

psf / black / 1813
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: pre-commit-ci-update-config
DEFAULT BRANCH: master
Ran 10 May 2020 03:53PM UTC
Jobs 3
Files 5
Run time 3s
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
1813

push

travis-ci

cooperlees
Add primer CI tool 💩
- Run in PATH `black` binary on configured projects
- Can set wether we expect changes or not per project
- Can set what python versions are supported for a project
- if `long_checkout` True project will not be ran on CI

Will add to CI after I finish unit tests to avoid silly bugs I'm sure I have 🤪

Tests:
- Manual Run - Will add unit tests if people think it will be useful
- Output:

```shell
(b) cooper-mbp1:black cooper$ time /tmp/b/bin/black-primer -k -w /tmp/cooper_primer_1
[2020-05-10 08:48:25,696] INFO: 4 projects to run black over (lib.py:212)
[2020-05-10 08:48:25,697] INFO: Skipping aioexabgp as it's disabled via config (lib.py:166)
[2020-05-10 08:48:25,699] INFO: Skipping bandersnatch as it's disabled via config (lib.py:166)
[2020-05-10 08:48:28,676] INFO: Analyzing results (lib.py:225)
-- primer results 📊 --

2 / 4 succeeded (50.0%) ✅
0 / 4 FAILED (0.0%) 💩
 - 2 projects Disabled by config
 - 0 projects skipped due to Python Version
 - 0 skipped due to long checkout

real	0m3.304s
user	0m9.529s
sys	0m1.019s
```

- ls of /tmp/cooper_primer_1
```
(b) cooper-mbp1:black cooper$ ls -lh /tmp/cooper_primer_1
total 0
drwxr-xr-x  21 cooper  wheel   672B May 10 08:48 attrs
drwxr-xr-x  14 cooper  wheel   448B May 10 08:48 flake8-bugbear
```

4220 of 4377 relevant lines covered (96.41%)

2.89 hits per line

Jobs
ID Job ID Ran Files Coverage
2 1813.2 (TEST_CMD="coverage run -m unittest") 10 May 2020 03:53PM UTC 0
96.37
Travis Job 1813.2
3 1813.3 (TEST_CMD="coverage run -m unittest") 10 May 2020 03:53PM UTC 0
96.37
Travis Job 1813.3
4 1813.4 (TEST_CMD="coverage run -m unittest") 10 May 2020 03:53PM UTC 0
96.46
Travis Job 1813.4
Source Files on build 1813
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1813
  • a93d3155 on github
  • Prev Build on black_primer (#851)
  • Next Build on black_primer (#853)
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