forked from python/pyperformance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
36 lines (30 loc) · 709 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
36
[tox]
envlist = py3, pypy3, doc, pep8, mypy
isolated_build = True
[testenv]
commands = python runtests.py
# don't override basepython to python3 here, to use pypy3 in testenv:pypy3
[testenv:py3]
basepython = python3
[testenv:doc]
basepython = python3
deps=
sphinx
whitelist_externals = make
commands=
make -C doc clean html
[testenv:pep8]
basepython = python3
deps = flake8
commands = flake8 pyperformance runtests.py setup.py
[flake8]
# E501 line too long (88 > 79 characters)
# E741 ambiguous variable name 'l' (don't modify benhcmarks just for that)
# W503 line break before binary operator
ignore = E501,E741,W503
[testenv:mypy]
basepython = python3
deps=
mypy
tomli
commands = mypy