fb16776f9d
- Add PEP8 section to tox.ini - Add hacking to requirements to enforce OpenStack style requirements - Change setup.py to use PBR - Add setup.cfg - Fix formatting issues flagged by flake8 check - Add copyright notices to all remaining files - Update .gitignore file - Fix bug in expression.py where a variable was set incorrectly Change-Id: I634adba3a44b2bcebb4d8c5620cbade28c6c489a
24 lines
360 B
INI
24 lines
360 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 = H405
|
|
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,timex/__init__.py
|
|
show-source = True
|