Skip to content

Commit 9634550

Browse files
committed
Restore tox file
1 parent 5b0f88c commit 9634550

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

tox.ini

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Tox (https://tox.readthedocs.io/) is a tool for running tests
2+
# in multiple virtualenvs. This configuration file will run the
3+
# test suite on all supported python versions. To use it, "pip install tox"
4+
# and then run "tox" from this directory.
5+
6+
[tox]
7+
envlist = py27, py36, py37, py38, py39, pypy3
8+
skip_missing_interpreters = True
9+
10+
[testenv]
11+
commands = py.test test/
12+
deps = -rrequirements.txt
13+
-rrequirements-dev.txt
14+
15+
[testenv:integration]
16+
passenv = *
17+
commands = py.test test/ {posargs: -x}
18+
deps = -rrequirements.txt
19+
-rrequirements-dev.txt
20+
21+
[flake8]
22+
ignore = D100, # missing docstring in public module
23+
D105,
24+
D200, # one line docstring should fit on one line with quotes
25+
D203, # 1 blank line required before class docstring
26+
D205, # blank line required after description (in docstrings)
27+
H101,
28+
H238,
29+
H301,
30+
H304,
31+
H404,
32+
H405
33+
exclude =
34+
# No need to traverse our git directory
35+
.git,
36+
# There's no value in checking cache directories
37+
__pycache__,
38+
# ...or build ones
39+
build,
40+
# Ignore virtualenv
41+
ENV
42+
max-line-length = 99

0 commit comments

Comments
 (0)