Fixed test data to satisfy PEP8.
authorDmitry Trofimov <dmitry.trofimov@jetbrains.com>
Thu, 23 Jan 2014 11:09:02 +0000 (12:09 +0100)
committerDmitry Trofimov <dmitry.trofimov@jetbrains.com>
Thu, 23 Jan 2014 11:09:02 +0000 (12:09 +0100)
python/testData/addImport/comment.after.py
python/testData/formatter/continuationIndentInIndentingStatement2_after.py
python/testData/inspections/QualifyByImport_after.py
python/testData/refactoring/extractmethod/Comment2.after.py
python/testData/refactoring/extractmethod/ElseBody.after.py

index 777f4800b8fc2c62cc5992e9da9a3bc39f19a178..a816490b3f437f346c0e604a358272ce300c8895 100644 (file)
@@ -1 +1 @@
-from urllib import urlopen, urlencode, unquote_plus   # this is a comment
\ No newline at end of file
+from urllib import urlopen, urlencode, unquote_plus  # this is a comment
\ No newline at end of file
index 703b4aeb2be49d743065a2ce04f90882c934e897..b76f2ac2625f067abb0dc952f7857894c2c6b046 100644 (file)
@@ -1,4 +1,4 @@
 def f(value, value1, value2):
     if value in (
-            value1, value2) or value == 0:   # <- missing continuation indent here
+            value1, value2) or value == 0:  # <- missing continuation indent here
         return False
\ No newline at end of file
index 7718df735eebb91da37e09281ae53e434bbe2fd7..aa433efe2deee765349c378d93b3b5bdc69cc253 100644 (file)
@@ -1,3 +1,3 @@
 import QualifyByImportFoo
 
-QualifyByImportFoo.foo # must be qualified
+QualifyByImportFoo.foo  # must be qualified
index 1260973086f6e0be5a57e63f24b24e17ad4df3ec..5e5fdc3c6a8ca2bf4d7d9b977d68b46d7f18ed20 100644 (file)
@@ -1,6 +1,6 @@
 class Foo():
     def baz():
-        tmp = "!" #try to extract this assignmet, either with or without this comment
+        tmp = "!"  #try to extract this assignmet, either with or without this comment
 
     baz()
 
index 684a444fcbbe6397b453754b4724f58abc1b4249..57b5fa011715ea3e96a294e8710681bd18ecdd62 100644 (file)
@@ -1,5 +1,5 @@
 def baz(f_new):
-    length = len(f_new.readlines()) #<---extract something from here
+    length = len(f_new.readlines())  #<---extract something from here
     print("hi from else")