mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-28 23:16:58 +08:00
Fix some more test details.
This commit is contained in:
@@ -66,6 +66,7 @@ abricot = 3 + \
|
||||
print "hello", (
|
||||
|
||||
"there",
|
||||
#: E126:5
|
||||
# "john",
|
||||
"dude")
|
||||
part = set_mimetype((
|
||||
|
||||
@@ -39,9 +39,7 @@ setup('',
|
||||
])
|
||||
|
||||
|
||||
#TODO
|
||||
##: W291
|
||||
#: E123+2:4
|
||||
#: E123+2:4 E291:15
|
||||
print "E123", (
|
||||
"bad", "hanging", "close"
|
||||
)
|
||||
@@ -117,15 +115,15 @@ def long_function_name(
|
||||
|
||||
|
||||
def qualify_by_address(
|
||||
#: E129
|
||||
#: E129:4 E129+1:4
|
||||
self, cr, uid, ids, context=None,
|
||||
#: E129
|
||||
params_to_check=frozenset(QUALIF_BY_ADDRESS_PARAM)):
|
||||
""" This gets called by the web server """
|
||||
|
||||
|
||||
#: E129+1:4 E129+2:4
|
||||
if (a == 2 or
|
||||
#: E129
|
||||
b == "abc def ghi"
|
||||
#: E129
|
||||
"jkl mno"):
|
||||
return True
|
||||
|
||||
|
||||
@@ -79,12 +79,12 @@ if True:
|
||||
return [node.copy(
|
||||
#: E121:12
|
||||
(
|
||||
#: E121
|
||||
#: E121:16 E126+1:24 E126+2:24
|
||||
replacement
|
||||
# First, look at all the node's current children.
|
||||
for child in node.children
|
||||
#: E121
|
||||
for replacement in replace(child)
|
||||
#: E123
|
||||
),
|
||||
dict(name=token.undefined)
|
||||
)]
|
||||
@@ -105,7 +105,7 @@ print dedent(
|
||||
mkdir -p ./{build}/
|
||||
mv ./build/ ./{build}/%(revision)s/
|
||||
'''.format(
|
||||
#: E121:4 E123+2:0
|
||||
#: E121:4 E121+1:4 E123+2:0
|
||||
build='build',
|
||||
# more stuff
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user