
- Add PEP8 section to tox.ini - Add requirements.txt - Add hacking to requirements to enforce OpenStack style requirements - Fix formatting issues flagged by flake8 check - Add copyright notices to all remaining files - Update .gitignore file Change-Id: I82cd4377d5eaded1a39fe0349105582fd42779d1
21 lines
354 B
INI
21 lines
354 B
INI
[tox]
|
|
envlist = py26,py27,pep8
|
|
|
|
[testenv]
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
coverage
|
|
nose
|
|
mock
|
|
|
|
commands = nosetests -d -v --with-coverage --cover-inclusive --cover-package simport []
|
|
|
|
[testenv:pep8]
|
|
commands =
|
|
flake8
|
|
|
|
[flake8]
|
|
ignore = H405
|
|
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,timex/__init__.py
|
|
show-source = True
|