Apply swh-py-template v0.2.0
This commit is contained in:
parent
fdeb086f77
commit
e6a35c55b0
3 changed files with 14 additions and 8 deletions
9
tox.ini
9
tox.ini
|
@ -7,20 +7,17 @@ envlist =
|
|||
py3
|
||||
|
||||
[testenv]
|
||||
usedevelop = true
|
||||
extras =
|
||||
testing
|
||||
deps =
|
||||
pytest-cov
|
||||
commands =
|
||||
pytest --doctest-modules \
|
||||
--rootdir {envsitepackagesdir} \
|
||||
--cov={envsitepackagesdir}/swh/lister \
|
||||
--cov=swh/lister \
|
||||
--cov-branch \
|
||||
{envsitepackagesdir}/swh/lister \
|
||||
swh/lister \
|
||||
{posargs}
|
||||
# --rootdir (with --import-mode from pytest.ini) are required to make tests
|
||||
# that depends on the test file to be a proper submodule of the swh namespace
|
||||
# after migration to PEP420 (implicit namespace).
|
||||
|
||||
[testenv:black]
|
||||
skip_install = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue