forked from dropbox/dropbox-sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
63 lines (44 loc) · 1.03 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[tox]
envlist = py{27,34,35,36,py,py3},check,lint
skip_missing_interpreters = true
[tox:travis]
2.7 = lint
pypy = lint
3.4 = lint
3.5 = lint
3.6 = check, lint
pypy3 = lint
[flake8]
# See <https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes>
ignore = E128,E301,E302,E305,E402,W503
max-line-length = 100
[testenv]
commands =
python setup.py test {posargs}
passenv =
DROPBOX_DOMAIN
DROPBOX_TEAM_TOKEN
DROPBOX_TOKEN
DROPBOX_WEB_HOST
[testenv:check]
commands =
python setup.py check -m -r -s -v
deps =
Pygments
docutils
usedevelop = true
[testenv:lint]
commands =
flake8 setup.py dropbox example test
pylint --rcfile=.pylintrc setup.py dropbox \
example/back-up-and-restore/backup-and-restore-example.py \
example/updown.py \
test/test_dropbox.py
deps =
flake8
# Needed to support Python 3.6
pylint >= 1.7.0
# This probably breaks on Windows. See
# <https://github.com/tox-dev/tox/issues/384>.
-rtest/requirements.txt
usedevelop = true