diff options
| author | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2015-05-11 18:26:13 +0200 |
|---|---|---|
| committer | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2015-05-11 18:26:13 +0200 |
| commit | 82a88a714e3cf932798c15879fda0a7d6d7047f1 (patch) | |
| tree | 8b38dd9ffa9881835001813b939155c563bf9949 /tox.ini | |
| parent | 99cc43a9bb6038d3f1c9fe4976d938232b4c8207 (diff) | |
| download | gitlab-82a88a714e3cf932798c15879fda0a7d6d7047f1.tar.gz | |
Add a tox configuration file
Run pep8 tests only for now, and fix pep8 errors.
Diffstat (limited to 'tox.ini')
| -rw-r--r-- | tox.ini | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -0,0 +1,25 @@ +[tox] +minversion = 1.6 +skipsdist = True +envlist = pep8 + +[testenv] +setenv = VIRTUAL_ENV={envdir} +usedevelop = True +install_command = pip install {opts} {packages} + +deps = -r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt +commands = + python setup.py testr --testr-args='{posargs}' + +[testenv:pep8] +commands = + flake8 {posargs} gitlab gitlab.py + +[testenv:venv] +commands = {posargs} + +[flake8] +exclude = .git,.venv,.tox,dist,doc,*egg,build, +ignore = H501 |
