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

tbabej / tasklib / 188 / 21
92%
master: 92%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 09 Sep 2020 04:18AM UTC
Files 6
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

09 Sep 2020 04:01AM UTC coverage: 90.488%. Remained the same
TASK_VERSION=v2.5.0

push

travis-ci

tbabej
setup: Add __version__ attribute for the tasklib module

Providing __version__ attribute is a reasonably common convention among
packages in the Python ecosystem. Currently the only other reliable
alternative is to use pkg_resources.get_distribution method, however,
importing pkg_resources is notoriously slow [1,2].

Provide the __version__ attribute to provide an API interface to check
the version of tasklib at runtime.

Bump the version in order to reflect module API change.

[1] https://github.com/pypa/setuptools/issues/510
[2] https://github.com/pypa/setuptools/issues/926

704 of 778 relevant lines covered (90.49%)

0.9 hits per line

Source Files on job 188.21 (TASK_VERSION=v2.5.0)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 187
  • Travis Job 188.21
  • d035a342 on github
  • Prev Job for TASK_VERSION=v2.5.0 on develop (#187.10)
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