diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2017-03-28 06:38:02 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2017-03-28 06:38:02 -0400 |
commit | 15492b8a68dbe91a5a6529524f9a09c19e363216 (patch) | |
tree | 07c9f3f4644bb7c75ab469e0680c2cef4ede4ffc /coverage/plugin.py | |
parent | c2636f945f5c46597f71479ac8eae3a141110cf5 (diff) | |
download | python-coveragepy-git-15492b8a68dbe91a5a6529524f9a09c19e363216.tar.gz |
Clean up of the new plugin method. Thanks, Emil Madsen
Diffstat (limited to 'coverage/plugin.py')
-rw-r--r-- | coverage/plugin.py | 8 |
1 files changed, 6 insertions, 2 deletions
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 [] |