pEp MixMailer prototype. See aditional documentation at https://mixmailer_docs.codeberg.page/ (source: https://gitea.pep.foundation/pEp.foundation/mixmailer_docs). See slides at gitea.pep.foundation/pEp.foundation/mixmailer_slides
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

81 lines
1.9 KiB

[tox]
skip_missing_interpreters = True
envlist =
py{36, 37, 38, 39, nightly}
isort,
black,
lint
doc,
; integration,
stats
[travis]
python =
3.6: py36, pip, setup, unit, integration, lint, doc
3.7: py37, pip, setup, unit, integration, lint, doc
3.8: py37, pip, setup, unit, integration, lint, doc
3.9-dev: py39, pip, setup, unit, integration, lint, doc
nightly: pynightly, pip, setup, unit, integration, lint, doc
[testenv]
; To use system pEp, since it can't be installed with pip
sitepackages = True
; Install packages in develop mode, ie., make symlinks to the package.
usedevelop = true
deps = .[test]
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 --append --module pytest
[testenv:isort]
skip_install = True
deps =
isort
commands =
python -m isort --recursive --check-only --diff mixnet tests
[testenv:black]
skip_install = True
deps =
black
commands =
python -m black --check --diff mixnet tests
[testenv:lint]
skip_install = True
deps = flake8
commands = python -m flake8 --verbose mixnet tests
[testenv:clean]
skip_install = True
deps = coverage
command = coverage erase
[testenv:stats]
skip_install = True
deps = coverage
commands=
# nothing to combine while not using several python versions
; python -m coverage combine
python -m coverage report
python -m coverage html
[testenv:doc]
deps = .[doc]
whitelist_externals = make
changedir = {toxinidir}/docs
commands =
make html
# this requires build the pdf images
# make latexpdf
; make man
# this requires Internet, it should not be in envlist
[testenv:doclinks]
deps = .[doc]
whitelist_externals = make
changedir = {toxinidir}/docs
commands =
make linkcheck