summaryrefslogtreecommitdiff
path: root/coverage/plugin.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2017-03-28 06:38:02 -0400
committerNed Batchelder <ned@nedbatchelder.com>2017-03-28 06:38:02 -0400
commitdb04ffdd2c7305243728cd662c11d49714068b8f (patch)
treefc7e42edc2e350f1b62c8d7a21f10eaf88448671 /coverage/plugin.py
parentb536b6c77c943eb95a0fe27705d842070027b407 (diff)
downloadpython-coveragepy-db04ffdd2c7305243728cd662c11d49714068b8f.tar.gz
Clean up of the new plugin method. Thanks, Emil Madsen
Diffstat (limited to 'coverage/plugin.py')
-rw-r--r--coverage/plugin.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/coverage/plugin.py b/coverage/plugin.py
index 43f291b..3e0e483 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 []