Mercurial > kallithea
view tox.ini @ 6183:4e2e6371f79a
helpers: in urlify_text, use <br> for newlines in pre-formatted text so it can be cut'n'pasted correctly
Before, when copying the preformatted nice looking ASCII-artsy text in a PR or
changeset description from a browser to a text editor, it would be pasted as
text without newline. Simply put, copy/paste ignores that it is inside a <pre>
/ white-space:pre-wrap section.
Instead, translate newlines to <br> which always translates to a newline when
pasted.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Tue, 06 Sep 2016 00:51:18 +0200 |
parents | dd676fdeda0f |
children | ab30729c735c |
line wrap: on
line source
[tox] minversion = 1.8 envlist = py{26,27}-pytest [testenv] setenv = PYTHONHASHSEED = 0 deps = -r{toxinidir}/dev_requirements.txt py26-pytest: unittest2 python-ldap python-pam commands = pytest: py.test {posargs}