Skip to content

Commit 450ac0b

Browse files
committed
Prevent trailing whitespace in doc/help/* files
1 parent aa6cb95 commit 450ac0b

File tree

10 files changed

+28
-28
lines changed

10 files changed

+28
-28
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ cmd_help: $(DOCBIN)
147147
sed \
148148
-e 's/__main__.py/coverage/' \
149149
-e '/^Full doc/d' \
150-
-e 's/^/ /' \
150+
-e 's/^./ &/' \
151151
>> doc/help/$$cmd.rst; \
152152
done
153153

doc/help/annotate.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
44
$ coverage annotate --help
55
Usage: coverage annotate [options] [modules]
6-
6+
77
Make annotated copies of the given files, marking statements that are executed
88
with > and statements that are missed with !.
9-
9+
1010
Options:
1111
-d DIR, --directory=DIR
1212
Write the output files to DIR.
@@ -23,4 +23,4 @@
2323
--rcfile=RCFILE Specify configuration file. By default '.coveragerc',
2424
'setup.cfg', 'tox.ini', and 'pyproject.toml' are
2525
tried. [env: COVERAGE_RCFILE]
26-
26+

doc/help/combine.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
44
$ coverage combine --help
55
Usage: coverage combine [options] <path1> <path2> ... <pathN>
6-
6+
77
Combine data from multiple coverage files collected with 'run -p'. The
88
combined results are written to a single file representing the union of the
99
data. The positional arguments are data files or directories containing data
1010
files. If no paths are provided, data files in the default data file's
1111
directory are combined.
12-
12+
1313
Options:
1414
-a, --append Append coverage data to .coverage, otherwise it starts
1515
clean each time.
@@ -18,4 +18,4 @@
1818
--rcfile=RCFILE Specify configuration file. By default '.coveragerc',
1919
'setup.cfg', 'tox.ini', and 'pyproject.toml' are tried.
2020
[env: COVERAGE_RCFILE]
21-
21+

doc/help/debug.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
44
$ coverage debug --help
55
Usage: coverage debug <topic>
6-
6+
77
Display information about the internals of coverage.py, for diagnosing
88
problems. Topics are: 'data' to show a summary of the collected data; 'sys' to
99
show installation information; 'config' to show the configuration; 'premain'
1010
to show what is calling coverage.
11-
11+
1212
Options:
1313
--debug=OPTS Debug options, separated by commas. [env: COVERAGE_DEBUG]
1414
-h, --help Get help on this command.
1515
--rcfile=RCFILE Specify configuration file. By default '.coveragerc',
1616
'setup.cfg', 'tox.ini', and 'pyproject.toml' are tried.
1717
[env: COVERAGE_RCFILE]
18-
18+

doc/help/erase.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
44
$ coverage erase --help
55
Usage: coverage erase [options]
6-
6+
77
Erase previously collected coverage data.
8-
8+
99
Options:
1010
--debug=OPTS Debug options, separated by commas. [env: COVERAGE_DEBUG]
1111
-h, --help Get help on this command.
1212
--rcfile=RCFILE Specify configuration file. By default '.coveragerc',
1313
'setup.cfg', 'tox.ini', and 'pyproject.toml' are tried.
1414
[env: COVERAGE_RCFILE]
15-
15+

doc/help/html.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
44
$ coverage html --help
55
Usage: coverage html [options] [modules]
6-
6+
77
Create an HTML report of the coverage of the files. Each file gets its own
88
page, with the source decorated to show executed, excluded, and missed lines.
9-
9+
1010
Options:
1111
--contexts=REGEX1,REGEX2,...
1212
Only display data from lines covered in the given
@@ -36,4 +36,4 @@
3636
--rcfile=RCFILE Specify configuration file. By default '.coveragerc',
3737
'setup.cfg', 'tox.ini', and 'pyproject.toml' are
3838
tried. [env: COVERAGE_RCFILE]
39-
39+

doc/help/json.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
44
$ coverage json --help
55
Usage: coverage json [options] [modules]
6-
6+
77
Generate a JSON report of coverage results.
8-
8+
99
Options:
1010
--contexts=REGEX1,REGEX2,...
1111
Only display data from lines covered in the given
@@ -30,4 +30,4 @@
3030
--rcfile=RCFILE Specify configuration file. By default '.coveragerc',
3131
'setup.cfg', 'tox.ini', and 'pyproject.toml' are
3232
tried. [env: COVERAGE_RCFILE]
33-
33+

doc/help/report.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
44
$ coverage report --help
55
Usage: coverage report [options] [modules]
6-
6+
77
Report coverage statistics on modules.
8-
8+
99
Options:
1010
--contexts=REGEX1,REGEX2,...
1111
Only display data from lines covered in the given
@@ -35,4 +35,4 @@
3535
--rcfile=RCFILE Specify configuration file. By default '.coveragerc',
3636
'setup.cfg', 'tox.ini', and 'pyproject.toml' are
3737
tried. [env: COVERAGE_RCFILE]
38-
38+

doc/help/run.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
44
$ coverage run --help
55
Usage: coverage run [options] <pyfile> [program options]
6-
6+
77
Run a Python program, measuring code execution.
8-
8+
99
Options:
1010
-a, --append Append coverage data to .coverage, otherwise it starts
1111
clean each time.
@@ -39,4 +39,4 @@
3939
--rcfile=RCFILE Specify configuration file. By default '.coveragerc',
4040
'setup.cfg', 'tox.ini', and 'pyproject.toml' are
4141
tried. [env: COVERAGE_RCFILE]
42-
42+

doc/help/xml.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
44
$ coverage xml --help
55
Usage: coverage xml [options] [modules]
6-
6+
77
Generate an XML report of coverage results.
8-
8+
99
Options:
1010
--fail-under=MIN Exit with a status of 2 if the total coverage is less
1111
than MIN.
@@ -25,4 +25,4 @@
2525
--rcfile=RCFILE Specify configuration file. By default '.coveragerc',
2626
'setup.cfg', 'tox.ini', and 'pyproject.toml' are
2727
tried. [env: COVERAGE_RCFILE]
28-
28+

0 commit comments

Comments
 (0)