diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-19 10:26:58 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-19 10:29:41 -0500 |
commit | e159fbdd05fc80fc359538030b619e5095570d10 (patch) | |
tree | 5759e9a8f49415d950f7aef11c4e412b4f00e254 /doc/cmd.rst | |
parent | c03f3000c82c6171fb798e4947a57a6b884fc03a (diff) | |
download | python-coveragepy-git-nedbat/cog.tar.gz |
temp: use checksummingnedbat/cog
Diffstat (limited to 'doc/cmd.rst')
-rw-r--r-- | doc/cmd.rst | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/cmd.rst b/doc/cmd.rst index 79b5967c..8c37781f 100644 --- a/doc/cmd.rst +++ b/doc/cmd.rst @@ -20,7 +20,7 @@ print(f" $ coverage {cmd} --help") print(textwrap.indent(help, " ")) .. ]]] -.. [[[end]]] +.. [[[end]]] (checksum: d41d8cd98f00b204e9800998ecf8427e) .. _cmd: @@ -152,7 +152,7 @@ There are many options: --rcfile=RCFILE Specify configuration file. By default '.coveragerc', 'setup.cfg', 'tox.ini', and 'pyproject.toml' are tried. [env: COVERAGE_RCFILE] -.. [[[end]]] +.. [[[end]]] (checksum: 869a31153b3cf401c52523ae9b52c7ab) If you want :ref:`branch coverage <branch>` measurement, use the ``--branch`` flag. Otherwise only statement coverage is measured. @@ -386,7 +386,7 @@ want to keep those files, use the ``--keep`` command-line option. --rcfile=RCFILE Specify configuration file. By default '.coveragerc', 'setup.cfg', 'tox.ini', and 'pyproject.toml' are tried. [env: COVERAGE_RCFILE] -.. [[[end]]] +.. [[[end]]] (checksum: ddd34bbd27ab1fda8dabce80e4d67795) .. _cmd_erase: @@ -410,7 +410,7 @@ To erase the collected data, use the **erase** command: --rcfile=RCFILE Specify configuration file. By default '.coveragerc', 'setup.cfg', 'tox.ini', and 'pyproject.toml' are tried. [env: COVERAGE_RCFILE] -.. [[[end]]] +.. [[[end]]] (checksum: 27f64e800a037c7e8f90289affdd5f13) If your configuration file indicates parallel data collection, **erase** will remove all of the data files. @@ -501,7 +501,7 @@ as a percentage. --rcfile=RCFILE Specify configuration file. By default '.coveragerc', 'setup.cfg', 'tox.ini', and 'pyproject.toml' are tried. [env: COVERAGE_RCFILE] -.. [[[end]]] +.. [[[end]]] (checksum: e5e77534929d2579f9d022227ef97313) The ``-m`` flag also shows the line numbers of missing statements:: @@ -615,7 +615,7 @@ Click the keyboard icon in the upper right to see the complete list. --rcfile=RCFILE Specify configuration file. By default '.coveragerc', 'setup.cfg', 'tox.ini', and 'pyproject.toml' are tried. [env: COVERAGE_RCFILE] -.. [[[end]]] +.. [[[end]]] (checksum: 75eda57d99b6c7b736f8ab2d60cc765d) The title of the report can be set with the ``title`` setting in the ``[html]`` section of the configuration file, or the ``--title`` switch on @@ -687,7 +687,7 @@ compatible with `Cobertura`_. --rcfile=RCFILE Specify configuration file. By default '.coveragerc', 'setup.cfg', 'tox.ini', and 'pyproject.toml' are tried. [env: COVERAGE_RCFILE] -.. [[[end]]] +.. [[[end]]] (checksum: 7f5bcdcacbd60e32514201f24c56c17f) You can specify the name of the output file with the ``-o`` switch. @@ -772,7 +772,7 @@ The **json** command writes coverage data to a "coverage.json" file. --rcfile=RCFILE Specify configuration file. By default '.coveragerc', 'setup.cfg', 'tox.ini', and 'pyproject.toml' are tried. [env: COVERAGE_RCFILE] -.. [[[end]]] +.. [[[end]]] (checksum: 6fbe1ca09a8f0379a5e1794d8ac14e79) You can specify the name of the output file with the ``-o`` switch. The JSON can be nicely formatted by specifying the ``--pretty-print`` switch. @@ -840,7 +840,7 @@ For example:: --rcfile=RCFILE Specify configuration file. By default '.coveragerc', 'setup.cfg', 'tox.ini', and 'pyproject.toml' are tried. [env: COVERAGE_RCFILE] -.. [[[end]]] +.. [[[end]]] (checksum: 8c3175a256f38215016d03b66de23d5b) Other common reporting options are described above in :ref:`cmd_reporting`. @@ -880,7 +880,7 @@ Three types of information are available: --rcfile=RCFILE Specify configuration file. By default '.coveragerc', 'setup.cfg', 'tox.ini', and 'pyproject.toml' are tried. [env: COVERAGE_RCFILE] -.. [[[end]]] +.. [[[end]]] (checksum: 66c36bb462796800400d588fa5a71c5f) .. _cmd_run_debug: |