From 15492b8a68dbe91a5a6529524f9a09c19e363216 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 28 Mar 2017 06:38:02 -0400 Subject: Clean up of the new plugin method. Thanks, Emil Madsen --- coverage/plugin.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'coverage/plugin.py') diff --git a/coverage/plugin.py b/coverage/plugin.py index 43f291b3..3e0e4836 100644 --- a/coverage/plugin.py +++ b/coverage/plugin.py @@ -89,12 +89,16 @@ class CoveragePlugin(object): """ _needs_to_implement(self, "file_reporter") - def find_executable_files(self, src_dir): - """Yield all of the executable files in `dirname`, recursively. + def find_executable_files(self, src_dir): # pylint: disable=unused-argument + """Yield all of the executable files in `src_dir`, recursively. Executability is a plugin-specific property, but generally means files which would have been considered for coverage analysis, had they been included automatically. + + Returns or yields a sequence of strings, the paths to files that could + have been executed, including files that had been executed. + """ return [] -- cgit v1.2.1