]> git.madduck.net Git - etc/vim.git/blobdiff - tests/class_blank_parentheses.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:

Properly format unified diff
[etc/vim.git] / tests / class_blank_parentheses.py
index b4dcb20c030de1403aee405c361d1599a20c8bf9..1a5721a288955d3c0b1a284ee675b97d84c15f07 100644 (file)
@@ -1,15 +1,10 @@
 class SimpleClassWithBlankParentheses():
     pass
-
-
-class ClassWithSpaceParentheses():
+class ClassWithSpaceParentheses ( ):
     first_test_data = 90
     second_test_data = 100
-
     def test_func(self):
         return None
-
-
 class ClassWithEmptyFunc(object):
 
     def func_with_blank_parentheses():
@@ -18,16 +13,11 @@ class ClassWithEmptyFunc(object):
 
 def public_func_with_blank_parentheses():
     return None
-
-
 def class_under_the_func_with_blank_parentheses():
-
     class InsideFunc():
         pass
-
-
-class NormalClass():
-
+class NormalClass (
+):
     def func_for_testing(self, first, second):
         sum = first + second
         return sum
@@ -49,7 +39,6 @@ class ClassWithSpaceParentheses:
 
 
 class ClassWithEmptyFunc(object):
-
     def func_with_blank_parentheses():
         return 5
 
@@ -59,13 +48,11 @@ def public_func_with_blank_parentheses():
 
 
 def class_under_the_func_with_blank_parentheses():
-
     class InsideFunc:
         pass
 
 
 class NormalClass:
-
     def func_for_testing(self, first, second):
         sum = first + second
         return sum