[codeface] Python codebase cleanup bundle part 1

  • From: Andreas Ringlstetter <andreas.ringlstetter@xxxxxxxxxxxxxxxxxxxx>
  • To: <codeface@xxxxxxxxxxxxx>
  • Date: Tue, 16 Feb 2016 13:39:49 +0100

This patch series enforces PEP8 respectively Google style guidelines on a
number of files which didn't adhere to the standards before.

No functional changes are introduced by this patch series.
No API have been changed, only variables limited to a local scope have been 
renamed.

The only exception to that is a minor change to DevInfoLogger which adds support
for named function parameters to conform with the native Python logging methods.
This is necessary to support expansion of formated log strings in a standarized 
way.

This functionality is not yet used by any codeface component, but would be the 
recommended
way over passing a readily expanded string as it is supposed to allow for
aggregation of common log messages.


This series also adds a configuration for pylint2 which may be used get an
non-exhaustive list of remaining style violations. The configuration is not
yet as strict as possible and can be refined if deemed necessary.

As for the files which have been touched, the following operations have been 
applied:
- Docstrings converted to standard form so they can be parsed automatically
- Clean up whitespace messes
- Break overly long lines
- (Partially) rename local variables with ambigous names
- Remove dead code sections, predating the integration into codeface

Many functions and methods are still entirely undocumented, or the documentation
ommits parameters and return types.

Files not covered by this bundle are still a mess.

Best regards,
Andreas Ringlstetter


Other related posts: