forked from jaguar754/instabot.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
46 lines (41 loc) · 780 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
44
45
46
[tox]
envlist = py36,py37,flake8
toxworkdir={toxinidir}/.tox
[testenv]
deps = -r{toxinidir}/requirements/base.txt
-r{toxinidir}/requirements/tests.txt
commands =
python --version
py.test tests --cov {envsitepackagesdir}/instabot_py
passenv =
HOME
CI
TOXENV
TRAVIS
TRAVIS_*
[testenv:flake8]
# The command to run:
commands = flake8
# We only need flake8 when linting, we do not care about the project dependencies
deps = flake8
[pytest]
xfail_strict = true
cache_dir = .pytest_cache
[travis]
python =
3.6: py36,flake8
3.7: py37,
[flake8]
exclude =
.tox,
.git,
venv,
__pycache__,
build,
dist,
*.pyc,
*.egg-info,
.cache,
.eggs
# not all the devs believe in 80 column line length
max-line-length = 120