-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
54 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[run] | ||
source = src/jpcw.tools | ||
source = src/jpcw/tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,37 @@ | ||
.. contents:: | ||
|
||
.. highlight:: bash | ||
|
||
Introduction | ||
============ | ||
|
||
Personal Python reusable tools | ||
|
||
|
||
develop | ||
--------- | ||
|
||
:: | ||
$ python setup.py develop | ||
$ easy_install . jpcw.tools[test] | ||
#launch tests | ||
$ make test -k | ||
|
||
|
||
Tests | ||
===== | ||
|
||
jpcw.tools is continuously | ||
|
||
+ tested on Travis |travisstatus|_ | ||
|
||
.. |travisstatus| image:: https://api.travis-ci.org/jpcw/jpcw.tools.png?branch=master | ||
.. _travisstatus: http://travis-ci.org/jpcw/jpcw.tools | ||
|
||
+ coverage tracked on coveralls.io |coveralls|_. | ||
|
||
.. |coveralls| image:: https://coveralls.io/repos/jpcw/jpcw.tools/badge.png | ||
.. _coveralls: https://coveralls.io/r/jpcw/jpcw.tools | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
|
||
"""Doc here. | ||
""" | ||
|
||
__docformat__ = 'restructuredtext en' | ||
|
||
from unittest import TestCase | ||
|
||
|
||
class Testjpcw_tools(TestCase): | ||
|
||
def test_sample(self): | ||
"""A sample test here.""" | ||
docfmt = 'restructuredtext en' | ||
from jpcw import tools | ||
self.assertTrue(tools.__docformat__ == docfmt) | ||
|
||
|
||
# vim:set et sts=4 ts=4 tw=80: |