Files @ 96b43734025f
Branch filter:

Location: kallithea/tox.ini

Mads Kiilerich
scripts: use plain import of contributor_data

Relative import failed with:

Traceback (most recent call last):
File "scripts/update-copyrights.py", line 45, in <module>
from . import contributor_data
ImportError: attempted relative import with no known parent package

Fixed by backing out changeset 2786730e56e0. The pytype problem can be solved
differently.
[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}