summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Xin <michael.xin@rackspace.com>2015-12-16 22:12:26 -0600
committerMichael Xin <michael.xin@rackspace.com>2015-12-17 09:58:07 -0600
commit66512646f45b1d644cbda0371bd17b02b3973ff7 (patch)
tree171ba774ef7edaf53f47f1f1544ba00e823fd032
parent11bb15178cb2bcf3aeaf11ad1e90d1854bb6e893 (diff)
Update tox.ini to include venv and add .gitreview0.1.1
Notes
Notes (review): Code-Review+1: Malini Kamalambal <malini.kamalambal@rackspace.com> Code-Review+2: Matt Valdes <matthew.valdes@rackspace.com> Workflow+1: Matt Valdes <matthew.valdes@rackspace.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 18 Dec 2015 15:03:43 +0000 Reviewed-on: https://review.openstack.org/258790 Project: openstack/syntribos Branch: refs/heads/master
-rw-r--r--.gitreview2
-rw-r--r--tox.ini12
2 files changed, 12 insertions, 2 deletions
diff --git a/.gitreview b/.gitreview
index df9b98b..c1ed807 100644
--- a/.gitreview
+++ b/.gitreview
@@ -1,4 +1,4 @@
1[gerrit] 1[gerrit]
2host=review.openstack.org 2host=review.openstack.org
3port=29418 3port=29418
4project=openstack/syntribos 4project=openstack/syntribos.git
diff --git a/tox.ini b/tox.ini
index c683c7f..6835326 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,10 @@
1[tox] 1[tox]
2envlist=pep8,py27,py34 2envlist=pep8,py27,py34
3skipsdist = True
3 4
4[testenv] 5[testenv]
6usedevelop = True
7install_command = pip install -U {opts} {packages}
5setenv=VIRTUAL_ENV={envdir} 8setenv=VIRTUAL_ENV={envdir}
6deps=-r{toxinidir}/pip-requires 9deps=-r{toxinidir}/pip-requires
7 -r{toxinidir}/test-requirements.txt 10 -r{toxinidir}/test-requirements.txt
@@ -15,6 +18,13 @@ commands=nosetests
15[testenv:pep8] 18[testenv:pep8]
16commands=flake8 19commands=flake8
17 20
21[testenv:venv]
22commands = {posargs}
23
24
18[flake8] 25[flake8]
19ignore=F401,E402 26# E123, E125 skipped as they are invalid PEP-8.
20 27
28show-source = True
29ignore = E123,E125
30exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build