Fixed test data to satisfy PEP8.

This commit is contained in:
Dmitry Trofimov
2014-01-23 12:09:02 +01:00
parent 2b72075954
commit 2142a55750
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1 +1 @@
from urllib import urlopen, urlencode, unquote_plus # this is a comment
from urllib import urlopen, urlencode, unquote_plus # this is a comment
@@ -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
@@ -1,3 +1,3 @@
import QualifyByImportFoo
QualifyByImportFoo.foo # must be qualified
QualifyByImportFoo.foo # must be qualified
@@ -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()
@@ -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")