Skip to content

Commit

Permalink
regenerated via bobtemplates.jpcw
Browse files Browse the repository at this point in the history
  • Loading branch information
jpcw committed Jan 28, 2014
1 parent 8fea72b commit 8c1e8a2
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[run]
source = src/jpcw.tools
source = src/jpcw/tools
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ nosetests:
@nosetests
flake8:
@echo "==== Running Flake8 ===="
@flake8 src/bobtemplates *.py
@flake8 src/jpcw/tools *.py
31 changes: 31 additions & 0 deletions README.rst
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

21 changes: 21 additions & 0 deletions src/jpcw/tools/tests/test_tools.py
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:

0 comments on commit 8c1e8a2

Please sign in to comment.