-
Notifications
You must be signed in to change notification settings - Fork 100
/
tox.ini
46 lines (40 loc) · 852 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 = django, flake, coverage
[testenv]
basepython = python3
deps =
-r requirements.txt
django: Django>=5.1,<5.2
ofxparse
commands =
python manage.py test {posargs:silverstrike}
[testenv:flake]
basepython = python3
skip_install = true
deps =
-r requirements.txt
flake8
flake8-import-order>=0.9
commands =
flake8 silverstrike
[testenv:coverage]
deps =
-r requirements.txt
coverage
ofxparse
commands =
coverage run manage.py test silverstrike
coverage report
[testenv:codecov]
passenv = CI, TRAVIS, TRAVIS_*, CODECOV_TOKEN, CIRCLECI, CIRCLE_*
deps =
-r requirements.txt
coverage
codecov
ofxparse
commands =
coverage run manage.py test {posargs:silverstrike}
codecov
[flake8]
max-line-length = 120
exclude = silverstrike/migrations,silverstrike/views/__init__.py