view tox.ini @ 8852:252b86664549

pytype: add some assertions to guide pytype through const dict with tricky typing structure These assertions also make the code more explicit and slightly more readable. Mute pytype warnings: File "kallithea/tests/vcs/base.py", line 76, in setup_repo: No attribute 'path' on str [attribute-error] In Union[kallithea.lib.vcs.nodes.FileNode, nothing, str] File "kallithea/tests/vcs/base.py", line 76, in setup_repo: No attribute 'content' on str [attribute-error] In Union[kallithea.lib.vcs.nodes.FileNode, nothing, str]
author Mads Kiilerich <mads@kiilerich.com>
date Tue, 18 Aug 2020 21:22:32 +0200
parents ab30729c735c
children
line wrap: on
line source

[tox]
minversion = 1.8
envlist = py27-pytest

[testenv]
setenv =
    PYTHONHASHSEED = 0
deps =
    -r{toxinidir}/dev_requirements.txt
    python-ldap
    python-pam
commands =
    pytest: py.test {posargs}