Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Python 3.6, drop Python 3.3, 100% coverage.
Fixes #5 and fixes #6. - Badges - DRY in tox.ini - Use zope.testrunner for namespace package issue - Add coverage environment and coveralls - Reach 100% coverage - Remove outdated support for ancient ZODB and Python 3.2 - Remove _compat._u function - Convert doctest functions in tests.py to unittests for coverage - Minor whitespace cleanups per pep8
- Loading branch information
Showing
16 changed files
with
408 additions
and
422 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,12 @@ | ||
[run] | ||
source = zope.session | ||
|
||
[report] | ||
precision = 2 | ||
exclude_lines = | ||
pragma: no cover | ||
if __name__ == '__main__': | ||
raise NotImplementedError | ||
self.fail | ||
raise AssertionError | ||
raise unittest.Skip |
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 |
---|---|---|
|
@@ -9,3 +9,5 @@ dist/ | |
eggs/ | ||
parts/ | ||
.tox/ | ||
.coverage | ||
htmlcov/ |
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
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,8 +1,21 @@ | ||
``zope.session`` | ||
================ | ||
============== | ||
zope.session | ||
============== | ||
|
||
.. image:: https://img.shields.io/pypi/v/zope.session.svg | ||
:target: https://pypi.python.org/pypi/zope.session/ | ||
:alt: Latest release | ||
|
||
.. image:: https://img.shields.io/pypi/pyversions/zope.session.svg | ||
:target: https://pypi.org/project/zope.session/ | ||
:alt: Supported Python versions | ||
|
||
.. image:: https://travis-ci.org/zopefoundation/zope.session.png?branch=master | ||
:target: https://travis-ci.org/zopefoundation/zope.session | ||
|
||
.. image:: https://coveralls.io/repos/github/zopefoundation/zope.session/badge.svg?branch=master | ||
:target: https://coveralls.io/github/zopefoundation/zope.session?branch=master | ||
|
||
This package provides interfaces for client identification and session | ||
support and their implementations for ``zope.publisher``'s request objects. | ||
support and their implementations for the request objects of | ||
`zope.publisher <https://zopepublisher.readthedocs.io/>`_. |
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,5 @@ | ||
[flake8] | ||
doctests = yes | ||
|
||
[bdist_wheel] | ||
universal = 1 |
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 +1 @@ | ||
__import__('pkg_resources').declare_namespace(__name__) | ||
__import__('pkg_resources').declare_namespace(__name__) # pragma: no cover |
Oops, something went wrong.