cubicweb/skeleton/tox.ini.tmpl
author Denis Laxalde <denis.laxalde@logilab.fr>
Thu, 16 May 2019 17:17:42 +0200
branch3.26
changeset 12615 7abe23cbfda1
parent 12434 4443ae7c9a2d
child 12594 cd9c9573fbd5
permissions -rw-r--r--
Make crypto module python3-compatible * Remove usage of unicode() and decode the base64-encoded string in encrypt(); * Encode the string received in decrypt() as (I supposed) it should come from the result of encrypt(). Add tests for this module along the way.

[tox]
envlist = py27,py3,flake8

[testenv]
deps =
  pytest
commands =
  {envpython} -m pytest {posargs:test}

[testenv:flake8]
basepython = python3
skip_install = true
deps =
  flake8
commands = flake8

[flake8]
exclude = cubicweb_%(cubename)s/migration/*,test/data/*,.tox/*