Skip to content

Commit 45b7995

Browse files
committed
tox.ini fixes
- use python3 for all tests - generate coverage reports
1 parent c7b2a33 commit 45b7995

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

test-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
coverage
12
pytest
23
flake8
34
pytest-cov

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ envlist = pep8,py3
44
skipsdist = True
55

66
[testenv]
7+
basepython = python3
78
usedevelop = True
89
whitelist_externals =
910
bash
@@ -22,10 +23,9 @@ passenv =
2223
[testenv:py3]
2324
commands =
2425
{[testenv]commands}
25-
py.test {posargs}
26+
py.test --cov=noggin {posargs}
2627

2728
[testenv:pep8]
28-
basepython = python3
2929
deps = {[testenv]deps}
3030
commands =
3131
flake8 noggin examples
@@ -34,4 +34,4 @@ commands =
3434
commands = {posargs}
3535

3636
[flake8]
37-
ignore = H301
37+
ignore = H301,H403,H405

0 commit comments

Comments
 (0)