forked from christabor/flask_jsondash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
41 lines (33 loc) · 786 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
[tox]
skipsdist=True
envlist=py{27,35,36}
[testenv]
usedevelop=True
deps=pytest
pytest-cov
pyquery
requests_mock
commands=pytest -s -v --cov-report term --cov=flask_jsondash tests
[testenv:py3.5]
commands=python3.5 -m pytest -s -v --cov-report term --cov=flask_jsondash tests
[testenv:py3.6]
commands=python3.6 -m pytest -s -v --cov-report term --cov=flask_jsondash tests
[flake8]
max-line-length=80
max-complexity=10
exclude=tests
ignore=D400,D205
[coverage:run]
branch=False
[coverage:report]
exclude_lines=
if __name__ == '__main__':
_unicode = str
fail_under=98
[coverage:html]
directory=coverage_report
title='Flask_jsondash code coverage report'
[pylama]
skip = */.tox/*,*/.env/*,tests/*
exclude=tests
linters=mccabe,pycodestyle,pyflakes,pydocstyle