diff options
| -rw-r--r-- | README.rst | 20 | ||||
| -rw-r--r-- | coverage/control.py | 4 | ||||
| -rw-r--r-- | doc/index.rst | 5 |
3 files changed, 22 insertions, 7 deletions
@@ -7,16 +7,20 @@ Coverage.py Code coverage testing for Python. -| |license| |versions| |status| |docs| -| |ci-status| |win-ci-status| |codecov| -| |kit| |format| |saythanks| - -.. downloads badge seems to be broken... |downloads| +| |license| |versions| |status| +| |ci-status| |win-ci-status| |docs| |codecov| +| |kit| |format| |repos| +| |tidelift| |saythanks| Coverage.py measures code coverage, typically during test execution. It uses the code analysis tools and tracing hooks provided in the Python standard library to determine which lines are executable, and which have been executed. +Professional support for coverage.py is available as part of the `Tidelift +Subscription`_. + +.. _Tidelift Subscription: https://tidelift.com/subscription/pkg/pypi-coverage?utm_source=pypi-coverage&utm_medium=referral&utm_campaign=readme + Coverage.py runs on many versions of Python: * CPython 2.7. @@ -108,6 +112,12 @@ Licensed under the `Apache 2.0 License`_. For details, see `NOTICE.txt`_. .. |codecov| image:: https://codecov.io/github/nedbat/coveragepy/coverage.svg?branch=master&precision=2 :target: https://codecov.io/github/nedbat/coveragepy?branch=master :alt: Coverage! +.. |repos| image:: https://repology.org/badge/tiny-repos/python:coverage.svg + :target: https://repology.org/metapackage/python:coverage/versions + :alt: Packaging status .. |saythanks| image:: https://img.shields.io/badge/saythanks.io-%E2%98%BC-1EAEDB.svg :target: https://saythanks.io/to/nedbat :alt: Say thanks :) +.. |tidelift| image:: https://tidelift.com/badges/github/nedbat/coveragepy + :target: https://tidelift.com/subscription/pkg/pypi-coverage?utm_source=pypi-coverage&utm_medium=referral&utm_campaign=readme + :alt: Tidelift diff --git a/coverage/control.py b/coverage/control.py index 23f0cbdd..4f2afda0 100644 --- a/coverage/control.py +++ b/coverage/control.py @@ -124,8 +124,8 @@ class Coverage(object): .. versionadded:: 4.2 The `concurrency` parameter can now be a list of strings. - .. versionadded:: 4.6 - The `check_preimported` parameter. + .. versionadded:: 5.0 + The `check_preimported` and `context` parameters. """ # Build our configuration from a number of sources. diff --git a/doc/index.rst b/doc/index.rst index 149eba07..e1830f1a 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -93,6 +93,11 @@ not. .. _described here: http://coverage.readthedocs.io/ +Professional support for coverage.py is available as part of the `Tidelift +Subscription`_. + +.. _Tidelift Subscription: https://tidelift.com/subscription/pkg/pypi-coverage?utm_source=pypi-coverage&utm_medium=referral&utm_campaign=docs + Quick start ----------- |
