forked from PyCQA/pydocstyle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
35 lines (30 loc) · 818 Bytes
/
tox.ini
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
33
34
35
# 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 = py27, py33, py34, py35, pypy, docs
[testenv]
# Make sure reading the UTF-8 from test.py works regardless of the locale used.
setenv =
LANG=C
LC_ALL=C
commands = py.test --pep8 --cache-clear src/tests
deps =
-rrequirements/runtime.txt
-rrequirements/tests.txt
[testenv:docs]
changedir=docs
deps =
-rrequirements/runtime.txt
-rrequirements/docs.txt
commands=sphinx-build -b html . _build
[pytest]
pep8ignore =
test.py E701 E704
norecursedirs = docs .tox
addopts = -rw
[pep257]
inherit = false
convention = pep257
add-select = D404