forked from dgorissen/pycel
-
Notifications
You must be signed in to change notification settings - Fork 8
/
tox.ini
43 lines (30 loc) · 824 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
37
38
39
40
41
42
43
# tox (https://tox.readthedocs.io/) 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 = py36, py37, py38, py39
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
pytest
pytest-flake8
pytest-cov
codecov
flake8-import-order
restructuredtext-lint
tox-travis
commands =
pytest --flake8 --cov {envsitepackagesdir}/pycel --cov-report term-missing
[flake8]
application-import-names = pycel
max-line-length = 100
import-order-style = smarkets
select = C,D300,E,F,I,W
[pytest]
python_files = tests/*.py
flake8-ignore =
*/pycel/__init__.py F401
*/pycel/* W504
*/pycel/lib/function_info_data.py E501