c5b313c297
- Add PEP8 section to tox.ini - 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: I8133009ef5db8e98bb4aa00dbdd36d837eabe84f
24 lines
385 B
INI
24 lines
385 B
INI
[tox]
|
|
envlist = py26, py27, pep8
|
|
|
|
[testenv]
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test_requirements.txt
|
|
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
|
|
commands =
|
|
nosetests tests
|
|
|
|
sitepackages = False
|
|
|
|
[testenv:pep8]
|
|
commands =
|
|
flake8
|
|
|
|
[flake8]
|
|
ignore =
|
|
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,*db/__init__.py,*db/migrations/versions/*_.py
|
|
show-source = True
|