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

roskakori / cutplace / 124
93%

Build:
DEFAULT BRANCH: master
Ran 13 Dec 2014 09:12PM UTC
Jobs 1
Files 12
Run time 6s
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
124

push

travis-ci

roskakori
#56: Add support for Python 3.

Changed explicit relative imports back to absolute imports - again, and this time for good. Rationale: absolute imports are the default with Python 3 and explicit relative import have been discouraged by PEP8 for a while. More recent versions of PEP8 describe a few scenarios where explicit relative imports might be useful, none of them apply for cutplace.

The main drawback of explicit relative imports is that they are almost impossible to work if the same source code should support

* python cutplace/xxx.py
* python -m cutplace.xxx
* python setup.py test
* pytest cutplace/xxx.py
* run and debug from an IDE like PyCharm or PyDev

The only drawback seems to be that pylint thinks that `from cutplace import _tools` is bad while `from . import _tools` is fine but I consider this a bug in pylint.

1527 of 1673 relevant lines covered (91.27%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 124.1 (DISTRIB="conda" PYTHON_VERSION="3.4" COVERAGE="true") 13 Dec 2014 09:12PM UTC 0
91.27
Travis Job 124.1
Source Files on build 124
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #124
  • 5e8fd947 on github
  • Prev Build on master (#123)
  • Next Build on master (#125)
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