forked from capn-freako/PyAMI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
54 lines (48 loc) · 1012 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
51
52
53
54
[tox]
envlist = py36, py37, pylint, flake8, docs
skip_missing_interpreters = true
[testenv]
changedir = tests
deps =
numpy
Cython
PyQt5
pytest-cov
commands =
py.test --basetemp={envtmpdir} -vv --cov=pyibisami \
--cov-report=html --cov-report=term-missing
[testenv:pylint]
deps =
numpy
Cython
pylint
commands =
pylint --rcfile={toxinidir}/tox.ini pyibisami
[testenv:flake8]
deps =
numpy
Cython
flake8
commands =
flake8 pyibisami
[testenv:docs]
deps =
numpy
Cython
sphinx
m2r
changedir = docs
commands =
sphinx-build -j auto -b html source/ build/
[flake8]
; W503 line break before binary operator
ignore = W503
max-line-length = 119
max-complexity = 10
show-source = True
exclude = .tox, docs, venv
[MESSAGES CONTROL]
# C0330: Wrong hanging indentation before block (add 4 spaces), for black compatibility.
# C0103: Doesn't conform to snake_case naming style (invalid-name)
disable=C0330,C0103,R0913
max-line-length = 119