DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Git (28c9448bcc)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
[tox]
envlist = py27

[testenv]
setenv =
    PYTHONDONTWRITEBYTECODE=1
    PYTHONPATH={toxworkdir}/tools/lib/python

passenv =
    HOME
    TRAVIS
    TRAVIS_JOB_ID
    TRAVIS_BRANCH

deps =
    coverage>=4.2
    cryptography
    enum34
    flake8
    functools32
    idna
    ipaddress
    lockfile
    mar
    minimock
    mock
    pyasn1
    pytest
    pytest-cov
    pytest-mock
    six

whitelist_externals = bash

commands=
    bash -c 'if [ ! -e {toxworkdir}/tools ]; then hg clone https://hg.mozilla.org/build/tools {toxworkdir}/tools; fi'
    py.test --cov balrogscript --cov-report term-missing
    coverage html
    flake8

[testenv:py27-coveralls]
deps=
    python-coveralls
    coverage>=4.2
commands=
    coveralls

[flake8]
max-line-length = 160
exclude = .ropeproject,.tox,sandbox
show-source = True

[pytest]
norecursedirs = .tox .git .hg sandbox tools
python_files = test_*.py
addopts = -vv -s --color=yes