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

anqxyr / mkepub / 42 / 1
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: set-cover-arg-extension
DEFAULT BRANCH: master
Ran 12 Oct 2019 02:47AM 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

12 Oct 2019 02:45AM UTC coverage: 98.438% (-0.4%) from 98.802%
42.1

Pull #11

travis-ci

web-flow
Add optional `ext` keyword argument to set_cover()

Previously, set_cover() would rely on the Python standard module
`imghdr` to determine the type of the specified cover image file.
Unfortunately, imghdr does not support SVG, so set_cover() could
not handle that type (which is permitted by the EPUB spec).

Detecting SVG files programmatically is nontrivial, and is generally
considered to require parsing the file source.

Instead, simply provide an option for the client to specify the file
type with the new keyword argument.
Pull Request #11: Add optional `ext` keyword argument to `set_cover()`

189 of 192 relevant lines covered (98.44%)

0.98 hits per line

Source Files on job 42.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 41
  • Travis Job 42.1
  • 4ab2c724 on github
  • Prev Job for on set-cover-arg-extension (#36.1)
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