diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2020-12-06 07:39:48 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2020-12-06 07:39:48 -0500 |
commit | 551949f426b8ef292df5e6d4caf9d9d038a92634 (patch) | |
tree | 2d1a50d2228caf573035da18586666927e50918d | |
parent | 6a41be799427ee004381553a2d7e94733617dcf4 (diff) | |
download | python-coveragepy-git-551949f426b8ef292df5e6d4caf9d9d038a92634.tar.gz |
Add another useful example to the docs. #1055
-rw-r--r-- | doc/excluding.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/excluding.rst b/doc/excluding.rst index fc2bc116..b2792c87 100644 --- a/doc/excluding.rst +++ b/doc/excluding.rst @@ -86,6 +86,7 @@ For example, here's a list of exclusions I've used:: raise NotImplementedError if 0: if __name__ == .__main__.: + class .*\bProtocol\): Note that when using the ``exclude_lines`` option in a configuration file, you are taking control of the entire list of regexes, so you need to re-specify the |