Skip to content

Commit cf90b2e

Browse files
committed
docs: clean up trailing whitespace
1 parent 35b792d commit cf90b2e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/source/plugins.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ techniques.
8080

8181
The API is the same for every extension point. Each uses a Python
8282
function that takes a single argument, a list of strings passed to the
83-
hook loader on the command line.
83+
hook loader on the command line.
8484

8585
::
8686

@@ -106,7 +106,7 @@ user scripts when ``virtualenvwrapper.sh`` is loaded.
106106
def initialize(args):
107107
for filename, comment in GLOBAL_HOOKS:
108108
make_hook(os.path.join('$WORKON_HOME', filename), comment)
109-
return
109+
return
110110

111111
.. _plugins-user-env:
112112

@@ -156,7 +156,7 @@ shell process.
156156
where examining the ``SHELL`` environment variable to generate
157157
different syntax for each case is the only way to achieve the
158158
desired result.
159-
159+
160160
Registering Entry Points
161161
------------------------
162162

@@ -200,9 +200,9 @@ application, use the ``-m`` option to the interpreter::
200200

201201
$ python -m virtualenvwrapper.hook_loader -h
202202
Usage: virtualenvwrapper.hook_loader [options] <hook> [<arguments>]
203-
203+
204204
Manage hooks for virtualenvwrapper
205-
205+
206206
Options:
207207
-h, --help show this help message and exit
208208
-s, --source Print the shell commands to be run in the current
@@ -213,7 +213,7 @@ application, use the ``-m`` option to the interpreter::
213213
-q, --quiet Show less information on the console
214214
-n NAMES, --name=NAMES
215215
Only run the hook from the named plugin
216-
216+
217217
To run the extensions for the initialize hook::
218218

219219
$ python -m virtualenvwrapper.hook_loader -v initialize
@@ -375,7 +375,7 @@ Plugins that define new operations can also define new extension
375375
points. No setup needs to be done to allow the hook loader to find
376376
the extensions; documenting the names and adding calls to
377377
``virtualenvwrapper_run_hook`` is sufficient to cause them to be
378-
invoked.
378+
invoked.
379379

380380
The hook loader assumes all extension point names start with
381381
``virtualenvwrapper.`` and new plugins will want to use their own

0 commit comments

Comments
 (0)