Metadata-Version: 2.0
Name: coverage-python-version
Version: 0.1.0
Summary: A coverage.py plugin to facilitate exclusions based on Python version
Home-page: https://github.com/jayclassless/coverage_python_version
Author: Jason Simeone
Author-email: jay@classless.net
License: MIT
Description-Content-Type: UNKNOWN
Keywords: coverage plugin version exclude
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Testing
Requires-Dist: coverage (<5,>=4.5)

***********************
coverage_python_version
***********************

.. image:: https://img.shields.io/pypi/v/coverage_python_version.svg
   :target: https://pypi.python.org/pypi/coverage_python_version
.. image:: https://img.shields.io/pypi/l/coverage_python_version.svg
   :target: https://pypi.python.org/pypi/coverage_python_version


Overview
--------
``coverage_python_version`` is a `coverage.py`_ plugin that provides a very
basic means for you to exclude code from your coverage measurements based on
the version of Python that it is executed on.

.. _coverage.py: https://coverage.readthedocs.io


Usage
-----
1. Add ``coverage_python_version`` to ``plugins`` option in the ``run`` section
   of your ``coverage.py`` configuration.

2. Use the comment ``# pragma: PY2`` to notate blocks of code that should be
   measured under Python 2, and ``# pragma: PY3`` to notate blocks for Python
   3.


License
-------
``coverage_python_version`` is released under the terms of the `MIT License`_.

.. _MIT License: https://opensource.org/licenses/MIT



