mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fixed test data to satisfy PEP8.
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user