summaryrefslogtreecommitdiffstats
path: root/testapi/testapi-client/tox.ini
blob: cf73b912d7b1e70367d3f59da4223a2aab2c368f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = pep8,py27
skipsdist = True
sitepackages = True

[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
deps =
  -rrequirements.txt
setenv=
  HOME = {envtmpdir}
  PYTHONPATH = {toxinidir}


[testenv:pep8]
deps = flake8
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,E501
builtins = _
exclude = bin, build, dist, lib, local, .git, .eggs, .tox, .venv, venv, testapi_client.egg-info