-
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
0 parents
commit 1259688
Showing
22 changed files
with
667 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[report] | ||
# Regexes for lines to exclude from consideration | ||
exclude_lines = | ||
# Have to re-enable the standard pragma | ||
pragma: no cover | ||
|
||
# Don't complain about missing debug-only code: | ||
def __repr__ | ||
if self\.debug | ||
|
||
# Don't complain if tests don't hit defensive assertion code: | ||
raise AssertionError | ||
raise NotImplementedError | ||
|
||
# Don't complain if non-runnable code isn't run: | ||
if 0: | ||
if __name__ == .__main__.: | ||
|
||
omit = | ||
*supervision/website/tests/* | ||
|
||
ignore_errors = True |
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,39 @@ | ||
*.mo | ||
*.egg-info | ||
*.egg | ||
*.EGG | ||
*.EGG-INFO | ||
.DS_STORE | ||
bin | ||
build | ||
develop-eggs | ||
downloads | ||
eggs | ||
fake-eggs | ||
parts | ||
dist | ||
var | ||
include | ||
lib | ||
.installed.cfg | ||
.secret.cfg | ||
.mr.developer.cfg | ||
.hg | ||
.bzr | ||
.svn | ||
*.pyc | ||
*.pyo | ||
*.pyd | ||
*.so | ||
*.tmp* | ||
.Python | ||
*.LCK | ||
*.lck | ||
*~ | ||
*.bak | ||
REAME.html | ||
.coverage | ||
htmlcov | ||
man | ||
.project | ||
.pydevproject |
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,4 @@ | ||
recursive-include src * | ||
recursive-include docs * | ||
include * | ||
global-exclude *pyc |
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,70 @@ | ||
=============================================== | ||
supervision.website | ||
=============================================== | ||
|
||
.. contents:: Table of Contents | ||
:depth: 2 | ||
|
||
Overview | ||
-------- | ||
|
||
supervision.website is a Python package ... | ||
supervision.website provides utils to supervise websites. | ||
|
||
Requirements | ||
------------ | ||
|
||
* | ||
|
||
Screenshot | ||
------------ | ||
|
||
.. image:: https://github.com/sylvainb/supervision.website/raw/master/docs/supervision-website-screenshot.png | ||
:height: 1039px | ||
:width: 1026px | ||
:scale: 70 % | ||
:alt: Screenshot | ||
:align: center | ||
|
||
Installation | ||
------------ | ||
|
||
Quickly test ? | ||
~~~~~~~~~~~~~~~~~~~~ | ||
|
||
Download ``supervision.website`` and use ``virtualenv`` to test the module:: | ||
|
||
easy_install virtualenv | ||
cd supervision.website | ||
chmod +x test-module.sh | ||
./test-module.sh | ||
|
||
source bin/activate | ||
(supervision.website) python | ||
>>> import supervision.website | ||
|
||
Launch tests with nose <https://nose.readthedocs.org/en/latest/>`_ :: | ||
|
||
(supervision.website) nosetests | ||
|
||
Launch code coverage:: | ||
|
||
(supervision.website) nosetests --with-coverage --cover-inclusive --cover-html --cover-html-dir htmlcov | ||
And open with a browser htmlcov/index.html | ||
|
||
Credits | ||
------- | ||
|
||
* Sylvain Boureliou [sylvainb] - `Bitbucket <https://bitbucket.org/sylvainb/>`_ - `Website <http://www.asilax.fr>`_ | ||
|
||
Source code | ||
----------- | ||
|
||
`Source code <https://github.com/sylvainb/supervision.website>`_ is hosted on Github. | ||
|
||
How to contribute and submit a patch ? | ||
-------------------------------------- | ||
|
||
`Source code <https://github.com/sylvainb/supervision.website>`_ and an `issue tracker <https://github.com/sylvainb/supervision.website/issues>`_ is hosted on Github. | ||
|
||
|
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,7 @@ | ||
Changelog | ||
------------ | ||
|
||
1.0dev (unreleased) | ||
~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
- Nothing changed yet. |
Oops, something went wrong.