diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-02-15 15:06:13 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-02-15 15:06:13 -0500 |
commit | 12dca52bf09a6ed97850e5262b9dc2a15ef19b05 (patch) | |
tree | 30940b57bfb714e9184c0848a82600da839f1a5c /coverage/plugin.py | |
parent | e46e6e0ff56104f137678fa712b7b4f78b25cea8 (diff) | |
download | python-coveragepy-12dca52bf09a6ed97850e5262b9dc2a15ef19b05.tar.gz |
Protect against misbehaving plugins.
Also, test some misbehavior, and move our own annotations of plugins
into prefixed attributes.
Diffstat (limited to 'coverage/plugin.py')
-rw-r--r-- | coverage/plugin.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/coverage/plugin.py b/coverage/plugin.py index 1389180..6648d7a 100644 --- a/coverage/plugin.py +++ b/coverage/plugin.py @@ -5,6 +5,8 @@ import re from coverage.misc import _needs_to_implement +# TODO: document that the plugin objects may be decorated with attributes with +# named "_coverage_*". class CoveragePlugin(object): """Base class for coverage.py plugins. |