summaryrefslogtreecommitdiff
path: root/doc/source.rst
diff options
context:
space:
mode:
authorloic <loic@dachary.org>2016-12-18 19:57:34 +0100
committerloic <loic@dachary.org>2016-12-18 19:57:34 +0100
commitc74976d38cff16af104c9dcb3b1826542ea32f99 (patch)
tree784640a97ef31b736e520a8ba32112b4ffc0d6f6 /doc/source.rst
parentb33628b4918f47694e89526955cf83b9764f6562 (diff)
downloadpython-coveragepy-issue-425.tar.gz
sources that do not end with .py\w? are ignored #425issue-425
close #425
Diffstat (limited to 'doc/source.rst')
-rw-r--r--doc/source.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/source.rst b/doc/source.rst
index 8f5b31b..8d831c4 100644
--- a/doc/source.rst
+++ b/doc/source.rst
@@ -35,9 +35,10 @@ source inside these directories or packages will be measured. Specifying the
source option also enables coverage.py to report on unexecuted files, since it
can search the source tree for files that haven't been measured at all. Only
importable files (ones at the root of the tree, or in directories with a
-``__init__.py`` file) will be considered, and files with unusual punctuation in
+``__init__.py`` file) will be considered. Files with unusual punctuation in
their names will be skipped (they are assumed to be scratch files written by
-text editors).
+text editors). Files that do not end with ``.py`` or ``.pyo`` or ``.pyc``
+will also be skipped.
You can further fine-tune coverage.py's attention with the ``--include`` and
``--omit`` switches (or ``[run] include`` and ``[run] omit`` configuration