Browse Source

Update tox.ini to include venv and add .gitreview

Change-Id: I4b6aabe58fb4ab0c13bb9d0e27d9b40bff1f1ae9
tags/0.1.1^0
Michael Xin 3 years ago
parent
commit
66512646f4
2 changed files with 12 additions and 2 deletions
  1. 1
    1
      .gitreview
  2. 11
    1
      tox.ini

+ 1
- 1
.gitreview View File

@@ -1,4 +1,4 @@
1 1
 [gerrit]
2 2
 host=review.openstack.org
3 3
 port=29418
4
-project=openstack/syntribos
4
+project=openstack/syntribos.git

+ 11
- 1
tox.ini View File

@@ -1,7 +1,10 @@
1 1
 [tox]
2 2
 envlist=pep8,py27,py34
3
+skipsdist = True
3 4
 
4 5
 [testenv]
6
+usedevelop = True
7
+install_command = pip install -U {opts} {packages}
5 8
 setenv=VIRTUAL_ENV={envdir}
6 9
 deps=-r{toxinidir}/pip-requires
7 10
      -r{toxinidir}/test-requirements.txt
@@ -15,6 +18,13 @@ commands=nosetests
15 18
 [testenv:pep8]
16 19
 commands=flake8
17 20
 
21
+[testenv:venv]
22
+commands = {posargs}
23
+
24
+
18 25
 [flake8]
19
-ignore=F401,E402
26
+# E123, E125 skipped as they are invalid PEP-8.
20 27
 
28
+show-source = True
29
+ignore = E123,E125
30
+exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build

Loading…
Cancel
Save