From 12dca52bf09a6ed97850e5262b9dc2a15ef19b05 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 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. -- cgit v1.2.1