forked from fake-useragent/fake-useragent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
50 lines (45 loc) · 850 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
47
48
49
50
[tox]
envlist =
py2-flake8,
py2-isort,
py3-flake8,
py3-isort,
py26,
py27,
py32,
py33,
py34,
py35,
pypy
[testenv]
basepython =
py2: python2
py3: python3
py26: python2.6
py27: python2.7
py32: python3.2
py33: python3.3
py34: python3.4
py35: python3.5
pypy: pypy
commands =
{envpython} setup.py nosetests
deps =
isort: isort<5
flake8: flake8<3
flake8: flake8-blind-except<0.2.0
flake8: flake8-quotes<0.8.0
flake8: pep8-naming<0.5.0
nose
[testenv:py2-flake8]
commands =
flake8 --show-source fake_useragent
[testenv:py2-isort]
commands =
isort --check-only -rc fake_useragent --diff
[testenv:py3-flake8]
commands =
flake8 --show-source fake_useragent
[testenv:py3-isort]
commands =
isort --check-only -rc fake_useragent --diff