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

pyscaffold / pyscaffold / #218
98%

Build:
DEFAULT BRANCH: master
Ran 22 Jul 2020 08:43AM UTC
Jobs 1
Files 24
Run time 4s
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
#218

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

Jobs
ID Job ID Ran Files Coverage
1 #218.1 22 Jul 2020 08:43AM UTC 0
93.78
Source Files on build #218
Detailed source file information is not available for this build.
  • Back to Repo
  • 555ae091 on github
  • Prev Build on master
  • Next Build on master
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