File: tox.ini

package info (click to toggle)
pydocstyle 2.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 508 kB
  • sloc: python: 3,139; makefile: 160
file content (35 lines) | stat: -rw-r--r-- 828 bytes parent folder | download
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, py36, 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 -vv 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