[openstack-dev] Move pep8 requirements to a separate file

Victor Sergeyev vsergeyev at mirantis.com
Thu Oct 24 07:52:24 UTC 2013


Hello all,

I noticed, that when I run tests using tox I get some redundant modules
installed to tox virtual environments. At the moment, pep8 specific
requirements (such as pep8, flake8 and so on) are stated in
test-requirements.txt file, which is meant to contain testing specific
modules (nose, testtools, etc). So when we run tox, it installs those
unnecessary pep8 libraries into py26, py27 environments. The same is true
for pep8 environment - tox installs all libraries from
test-requirements.txt there, but only pep8 specific modules are actually
needed.

I think, it would be nice to move pep8 specific requirements from
test-requirements.txt to a separate file (pep8-requirements.txt, perhaps)
to avoid this situation. It would save network traffic and reduce the time
it takes to create virtual environments.

Thoughts? Does it sound reasonable?

Victor.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131024/301251b8/attachment.html>


More information about the OpenStack-dev mailing list