From 80036ce3f4b82b3911e10b7d28226048dc8a56c0 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 15 Feb 2015 15:06:13 -0500 Subject: Protect against misbehaving plugins. Also, test some misbehavior, and move our own annotations of plugins into prefixed attributes. --- coverage/plugin.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'coverage/plugin.py') 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. -- cgit v1.2.1