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

pyscaffold / pyscaffold / #220 / 1
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 24 Jul 2020 11:34AM UTC
Files 24
Run time 2s
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

24 Jul 2020 10:40AM UTC coverage: 93.782%. Remained the same
#220.1

push

coveralls-python

abravalheri
Remove logic duplication for templates

There is some repeated logic when defining an structure with templates.
The original API accepts either strings or None objects as file
contents, but most of the time we pass either functions or
str.Templates, which leads to code duplication for the majority of the
templates.

This change intends to remove all the duplicated logic by allowing
str.Templates and callable to be passed directly as file contents,
alongside str and None (backwards compatible).

331 of 365 branches covered (90.68%)

Branch coverage included in aggregate %.

1147 of 1211 relevant lines covered (94.72%)

0.95 hits per line

Source Files on job #220.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 220
  • 72bc3872 on github
  • Prev Job for on master (##218.1)
  • Next Job for on master (##222.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