Browse Source

Move coverage configuration to setup.cfg

And fix tox stats
gns
juga 2 years ago
parent
commit
d9ab5fb181
3 changed files with 6 additions and 1 deletions
  1. +0
    -0
      .coveragerc
  2. +5
    -0
      setup.cfg
  3. +1
    -1
      tox.ini

+ 0
- 0
.coveragerc View File


+ 5
- 0
setup.cfg View File

@ -76,3 +76,8 @@ max-line-length = 79
ignore = D100,D101,D103,D104,D107
exclude = docs/*
verbose = 1
[coverage:run]
# Do not give error on empty __init__ files
omit = */__init__.py
source = mixnet

+ 1
- 1
tox.ini View File

@ -27,7 +27,7 @@ commands =
; Use python -m to use the binary from the virtualenv if it is also
; installed in the system. Do not use {envbindir} since it would require
; to install it in tox virtualenv
python -m coverage run -a --source=mixnet -m pytest
python -m coverage run --append --module pytest
[testenv:isort]
skip_install = True


Loading…
Cancel
Save