forked from InstaPy/InstaPy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
29 lines (25 loc) · 769 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
# 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 = py34, py35, py36, py37, flake8-37
minversion = 2.5.0
skip_missing_interpreters = true
requires = tox-venv
[testenv]
deps =
-rrequirements.txt
pytest
commands =
python -m pytest {posargs}
extras = test
[testenv:flake8-37]
basepython = python3.7
deps = flake8
commands =
flake8 . --count --select=E722,F401,F811,E901, \
E999,F821,F822,F823 --show-source --statistics
- flake8 . --count --max-complexity=10 \
--max-line-length=79 --statistics
skip_install = True