diff options
author | 2016-07-08 00:27:12 +0000 | |
---|---|---|
committer | 2016-07-08 00:27:12 +0000 | |
commit | 910362d520450f29d1ed3dcf49671a84dc1acf69 (patch) | |
tree | 056a818ab3e8d2a3178b161de4150621b55eed25 /tox.ini | |
parent | f2776c6c64b0a84df55edc1542dd6e67420d9076 (diff) | |
parent | 4c7387f811c01bd74b5ae6e0d0cca4bc98d298e8 (diff) |
Merge "Add some UT test cases and fix pep8 errors for cli and env_setup."
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -8,24 +8,25 @@ envlist = py27 skipsdist = True [testenv] -changedir=tests -deps = +usedevelop = True +install_command = pip install -U {opts} {packages} +deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands= py.test \ - --basetemp={envtmpdir} \ # py.test tempdir setting - {posargs} # substitute with tox' positional arguments + --basetemp={envtmpdir} \ + {posargs} tests [testenv:pep8] deps = flake8 -commands = flake8 {toxinidir} +commands = flake8 {toxinidir} [flake8] # H803 skipped on purpose per list discussion. # E123, E125 skipped as they are invalid PEP-8. show-source = True -ignore = E123,E125,H803 +ignore = E123,E125,H803,E501 builtins = _ exclude=.venv,.git,.tox,dist,doc,build |