summaryrefslogtreecommitdiff
path: root/coverage/plugin.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-02-15 15:06:13 -0500
committerNed Batchelder <ned@nedbatchelder.com>2015-02-15 15:06:13 -0500
commit80036ce3f4b82b3911e10b7d28226048dc8a56c0 (patch)
treeee53a98f51a9dddd8a46f5ddd1cb88dd760ff63d /coverage/plugin.py
parente25a505dfece0b60c22ea871796d7159a300d771 (diff)
downloadpython-coveragepy-git-80036ce3f4b82b3911e10b7d28226048dc8a56c0.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.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/coverage/plugin.py b/coverage/plugin.py
index 1389180b..6648d7a6 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.