-
Notifications
You must be signed in to change notification settings - Fork 10
/
tox.ini
58 lines (52 loc) · 1.2 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
; Settings file for flake8:
; http://flake8.readthedocs.org/en/latest/config.html#settings
[flake8]
exclude = *migrations/*,.tox,./tmp,./build
filename = *.py
; E127 continuation line over-indented for visual indent
; For example in:
; if 'SOLVEBIO_API_KEY' in os.environ and \
; os.environ['SOLVEBIO_API_KEY'].startswith('0cedb161d'):
; self.assertRaises(SolveError, lambda: Annotation.retrieve(1))
; proper indentation would make it line up with the next ident which is
; E125
ignore = E127,E402,N801,N802,E722,W504
max-line-length = 120
[gh-actions]
python =
2.7: py27
3.6: py36
3.7: py37
3.8: py38
[tox]
envlist = py27, py34, py37, pypy
[testenv]
deps =
requests>=2.0.0
mock>=1.0.1
unittest2
commands = python -W always setup.py test {posargs}
[testenv:py27]
deps =
flake8
requests>=2.0.0
mock>=1.0.1
commands =
python -W always setup.py test {posargs}
flake8 solvebio
[testenv:py34]
deps =
flake8
requests>=2.0.0
mock>=1.0.1
commands =
python -W always setup.py test {posargs}
flake8 solvebio
[testenv:py37]
deps =
flake8
requests>=2.0.0
mock>=1.0.1
commands =
python -W always setup.py test {posargs}
flake8 solvebio