summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2017-02-09 17:07:35 +0100
committerRodolfo Carvalho <rhcarvalho@gmail.com>2017-02-10 15:19:57 +0100
commitf9cc3bbbeffba024079eac59a30a6c155396d62c (patch)
tree01ef35b9ccb6323ff135c992e1dd55224dfa301d
parent9e92660ed86623385e48c4960f4db681d86a7a57 (diff)
downloadopenshift-f9cc3bbbeffba024079eac59a30a6c155396d62c.tar.gz
openshift-f9cc3bbbeffba024079eac59a30a6c155396d62c.tar.bz2
openshift-f9cc3bbbeffba024079eac59a30a6c155396d62c.tar.xz
openshift-f9cc3bbbeffba024079eac59a30a6c155396d62c.zip
Add note about extraneous virtualenvs
-rw-r--r--CONTRIBUTING.md18
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