Files @ afada0171a31
Branch filter:

Location: rattail-project/rattail/tox.ini

Lance Edgar
Add encoding support to `files.count_lines()`.

This seemed to be necessary when working with a file with 'latin_1'
encoding. Hopefully this is a good change and doesn't break anything..?

[tox]
envlist = py26, py27

[testenv]
deps =
        alembic
        coverage
        Fabric
        fixture
        mock
        nose
        py-bcrypt
commands =
        pip install rattail
        nosetests {posargs}

[testenv:coverage]
basepython = python
commands =
        pip install rattail
        nosetests {posargs:--with-coverage --cover-html-dir={envtmpdir}/coverage}

[testenv:docs]
basepython = python
deps =
        alembic
        coverage
        Fabric
        fixture
        mock
        nose
        py-bcrypt
        Sphinx
changedir = docs
commands =
        pip install rattail
        sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs