@@ -80,7 +80,7 @@ techniques.
80
80
81
81
The API is the same for every extension point. Each uses a Python
82
82
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.
84
84
85
85
::
86
86
@@ -106,7 +106,7 @@ user scripts when ``virtualenvwrapper.sh`` is loaded.
106
106
def initialize(args):
107
107
for filename, comment in GLOBAL_HOOKS:
108
108
make_hook(os.path.join('$WORKON_HOME', filename), comment)
109
- return
109
+ return
110
110
111
111
.. _plugins-user-env :
112
112
@@ -156,7 +156,7 @@ shell process.
156
156
where examining the ``SHELL `` environment variable to generate
157
157
different syntax for each case is the only way to achieve the
158
158
desired result.
159
-
159
+
160
160
Registering Entry Points
161
161
------------------------
162
162
@@ -200,9 +200,9 @@ application, use the ``-m`` option to the interpreter::
200
200
201
201
$ python -m virtualenvwrapper.hook_loader -h
202
202
Usage: virtualenvwrapper.hook_loader [options] <hook> [<arguments>]
203
-
203
+
204
204
Manage hooks for virtualenvwrapper
205
-
205
+
206
206
Options:
207
207
-h, --help show this help message and exit
208
208
-s, --source Print the shell commands to be run in the current
@@ -213,7 +213,7 @@ application, use the ``-m`` option to the interpreter::
213
213
-q, --quiet Show less information on the console
214
214
-n NAMES, --name=NAMES
215
215
Only run the hook from the named plugin
216
-
216
+
217
217
To run the extensions for the initialize hook::
218
218
219
219
$ python -m virtualenvwrapper.hook_loader -v initialize
@@ -375,7 +375,7 @@ Plugins that define new operations can also define new extension
375
375
points. No setup needs to be done to allow the hook loader to find
376
376
the extensions; documenting the names and adding calls to
377
377
``virtualenvwrapper_run_hook `` is sufficient to cause them to be
378
- invoked.
378
+ invoked.
379
379
380
380
The hook loader assumes all extension point names start with
381
381
``virtualenvwrapper. `` and new plugins will want to use their own
0 commit comments