Bug: 1010610 With this commit, we could run py26, py27 and pep8 tests against these scripts, using tox. * .gitignore Ignore build files. * MANIFEST.in List of files to include in sdist package. * setup.cfg Setup configuration. * setup.py Script to generate sdist package. * tools/pip-requires Pip dependency list. * tools/test-requires Extensive list of dependencies to execute tests. * tox.ini Tox targets. Change-Id: I3f14af096b3078214d0747c2ab99b0a42b5190e9
13 lines
256 B
INI
13 lines
256 B
INI
[tox]
|
|
envlist = py26,py27,pep8
|
|
|
|
[testenv]
|
|
deps = -r{toxinidir}/tools/pip-requires
|
|
-r{toxinidir}/tools/test-requires
|
|
commands = nosetests {posargs}
|
|
|
|
[testenv:pep8]
|
|
deps = pep8
|
|
commands = pep8 --count --repeat --show-source --exclude=.tox setup.py .
|
|
|