Hi lmr:
I sent a pull request for pep8 tool.
https://github.com/autotest/virt-test/pull/809
Please take a look at it.
On 09/04/2013 08:10 AM, 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?
Lucas
[1] http://www.python.org/dev/peps/pep-0008/
[2] https://pypi.python.org/pypi/autopep8
_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel
_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel