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

tbabej / tasklib / 187 / 5
92%
master: 92%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 09 Sep 2020 03:59AM UTC
Files 6
Run time 1s
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 03:51AM UTC coverage: 91.517% (-0.2%) from 91.709%
TASK_VERSION=v2.4.0

push

travis-ci

tbabej
setup: Add __version__ attribute for the taskwiki 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

712 of 778 relevant lines covered (91.52%)

0.92 hits per line

Source Files on job 187.5 (TASK_VERSION=v2.4.0)
  • Tree
  • List 0
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 186
  • Travis Job 187.5
  • b9857f07 on github
  • Prev Job for TASK_VERSION=v2.4.0 on develop (#185.25)
  • Next Job for TASK_VERSION=v2.4.0 on develop (#188.5)
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