diff options
author | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-02-09 17:07:35 +0100 |
---|---|---|
committer | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-02-10 15:19:57 +0100 |
commit | f9cc3bbbeffba024079eac59a30a6c155396d62c (patch) | |
tree | 01ef35b9ccb6323ff135c992e1dd55224dfa301d | |
parent | 9e92660ed86623385e48c4960f4db681d86a7a57 (diff) | |
download | openshift-f9cc3bbbeffba024079eac59a30a6c155396d62c.tar.gz openshift-f9cc3bbbeffba024079eac59a30a6c155396d62c.tar.bz2 openshift-f9cc3bbbeffba024079eac59a30a6c155396d62c.tar.xz openshift-f9cc3bbbeffba024079eac59a30a6c155396d62c.zip |
Add note about extraneous virtualenvs
-rw-r--r-- | CONTRIBUTING.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 83c844e28..dafa73bad 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -85,6 +85,24 @@ parallel pip install tox detox ``` +--- + +Note: before running `tox` or `detox`, ensure that the only virtualenvs within +the repository root are the ones managed by `tox`, those in a `.tox` +subdirectory. + +Use this command to list paths that are likely part of a virtualenv not managed +by `tox`: + +``` +$ find . -path '*/bin/python' | grep -vF .tox +``` + +Extraneous virtualenvs cause tools such as `pylint` to take a very long time +going through files that are part of the virtualenv. + +--- + List the test environments available: ``` tox -l |