Comment 2 for bug 1652329

Revision history for this message
Joshua Powers (powersj) wrote :

@smoser, before the holiday you mentioned how we have two targets: unit tests and style. For unit tests you mention wanting to move to flake8 and have runs for each Ubuntu release. For the unit tests, you still want these to gate the build. So why not break them out as follows:

tox.ini - This contains only the unit tests as well as the doc tests. The unit tests would be invoked during a build to essentially run nosetests on py27 and py3. See [1] for an example.

tox-style.ini - This contains the lint tests where flake8 is locked in at a specific version, whether that be for trusty, xenial, or the latest version found in pypi. Because we are not packaging up or running the code there is no need for any additional requirements above a specific version of flake8. This file would only be invoked by our CI system, by developers, and not during a build. See [2] for an example.

[1] https://paste.ubuntu.com/23741424/
[2] https://paste.ubuntu.com/23741427/