core-admin/qubes
Jason Mehring 0dbcdb8c0d qubes: pep8 fixes
-------------------------------------------------------------------------------
ISSUES:
-------------------------------------------------------------------------------

- Some auto-corrected code (when line is too long) may still be over-indented.
  It can be manually chaged and it will be left alone, or is it acceptable as
  I am not sure how strict your rule is for under-indented lines for which
  context.  If you want this only indented 4 spaces, I can work on it some more.
  [Also @ ~line:385 in new file]

  For example, __init__.py:382
  OLD:
    def __contains__(self, key):
        return any((key == vm or key == vm.qid or key == vm.name) for vm in self)

  NEW:
    def __contains__(self, key):
        return any((key == vm or key == vm.qid or key == vm.name)
                   for vm in self)

- will not detect if there are more than 2 spaces between function methods

-------------------------------------------------------------------------------
FIXED:
-------------------------------------------------------------------------------
- Now uses the most horizontial space and does not use excessive lines when
  splitting a line

- __init__:489
  - '#' comments being indented for some lines and not others; would like no indent
  - Only happens if line preceeding comment ends in a ':'

E128 - Fix visual indentation
E128 - Fix a badly indented line [Now allows under-indented lines]

E309 - Add missing blank line (after class declaration) [No longer adds it]

E303 - Remove extra blank lines [Now allows 2 blank lines between function defs]
       [TODO: Create definition to enforce this]

Conflicts:
	qubes/__init__.py
2015-06-29 17:39:26 +02:00
..
ext qubes: fix event framework 2015-06-29 17:39:25 +02:00
tests qubes/tests: fix testrunner dependency on being run in specific directory 2015-06-29 17:39:26 +02:00
vm Fixed typos 2015-06-29 17:39:26 +02:00
__init__.py qubes: pep8 fixes 2015-06-29 17:39:26 +02:00
_pluginloader.py core3: event framework adjusted for global Qubes object 2015-06-29 17:39:24 +02:00
config.py qubes: Fix comments accross the code 2015-06-29 17:39:25 +02:00
dochelpers.py Fixed typos 2015-06-29 17:39:26 +02:00
events.py qubes: fix event framework 2015-06-29 17:39:25 +02:00
log.py qubes/log: logging routines 2015-06-29 17:39:23 +02:00
Makefile add core3 to Makefiles and spec 2015-06-29 17:39:26 +02:00
plugins.py apidoc stub 2015-06-29 17:39:22 +02:00
rngdoc.py doc: Add autogenerated qubes.xml documentation 2015-06-29 17:39:25 +02:00
utils.py qubes: Fix comments accross the code 2015-06-29 17:39:25 +02:00