]> git.madduck.net Git - etc/vim.git/blobdiff - tests/empty_lines.py

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Consistently style the name (#76)
[etc/vim.git] / tests / empty_lines.py
index fe86b3854a0e65b1b0620d4c99715ca0199691b6..8f00ddced4bc4b15c64d3fee4994ae16c108e6dc 100644 (file)
@@ -40,13 +40,9 @@ def f():
                 syms.dictsetmaker,
             }:
                 return NO
-
-
 ###############################################################################
 # SECTION BECAUSE SECTIONS
 ###############################################################################
-
-
 def g():
     NO = ''
     SPACE = ' '
@@ -109,6 +105,7 @@ def f():
     if not prev:
         prevp = preceding_leaf(p)
         if not prevp or prevp.type in OPENING_BRACKETS:
+
             return NO
 
         if prevp.type == token.EQUAL:
@@ -135,6 +132,8 @@ def f():
 ###############################################################################
 # SECTION BECAUSE SECTIONS
 ###############################################################################
+
+
 def g():
     NO = ''
     SPACE = ' '
@@ -145,6 +144,7 @@ def g():
     v = leaf.value
 
     # Comment because comments
+
     if t in ALWAYS_NO_SPACE:
         pass
     if t == token.COMMENT: