On 09/03/2013 09:10 PM, Lucas Meneghel Rodrigues wrote:
Hello folks:

For about a week we've been talking about making the coding style for
both virt-test and autotest, that is PEP8 [1] + some exceptions to
become PEP8.

This proposal would bring a few changes to the current style, mainly:

  * imports
  * spacing between functions

The advantage of following the spec more closely is automatic
verification and fixing through scripts (autopep8 [2]). In case we opt
to go forward with the proposal, we'd need to:

  * Develop scripts to do mass conversion of the non compliances
  * Migrate the current code. We might as well do the docstring
conversion, assuming it's easy to at least semi-automate the process.

Thoughts?

First patches that introduce the mentioned tools to virt-test (will be extended to autotest)

https://github.com/autotest/virt-test/pull/826

If nobody pronounces until Friday, I intend to do the mass conversions during the weekend.

Cheers!

_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel

Reply via email to