13 print "E124", ("visual",
17 print "E124", ("visual",
24 if (row
< 0 or self
.moduleCount
<= row
or
25 col
< 0 or self
.moduleCount
<= col
):
26 raise Exception("%s,%s - %s" % (row
, col
, self
.moduleCount
))
34 print "E127", ("over-",
37 print "E128", ("visual",
40 print "E128", ("under-",
56 rv
.update(dict.fromkeys((
57 'qualif_nr', 'reasonComment_en', 'reasonComment_fr',
58 'reasonComment_de', 'reasonComment_it'),
73 a
.get('mime_type', 'text')),
80 result
= some_function_that_takes_arguments(
85 if some_very_very_very_long_variable_name
or var \
86 or another_very_long_variable_name
:
89 if some_very_very_very_long_variable_name
or var
[0] \
90 or another_very_long_variable_name
:
94 if some_very_very_very_long_variable_name
or var \
95 or another_very_long_variable_name
:
99 if some_very_very_very_long_variable_name
or var
[0] \
100 or another_very_long_variable_name
:
112 'Development Status :: 4 - Beta',
113 'Environment :: Console',
114 'Intended Audience :: Developers',
121 "bad", "hanging", "close"
133 result
= some_function_that_takes_arguments(
146 result
= some_function_that_takes_arguments('a', 'b', 'c',
166 help="exclude files or directories which match these "
167 "comma separated patterns (default: %s)" % DEFAULT_EXCLUDE
172 name
="Removing the option for contract",
173 description
="contract line has been removed",
179 if foo
is None and bar
is "frop" and \
183 # Further indentation required as indentation is not distinguishable
186 def long_function_name(
187 var_one
, var_two
, var_three
,
194 def qualify_by_address(
195 self
, cr
, uid
, ids
, context
=None,
196 params_to_check
=frozenset(QUALIF_BY_ADDRESS_PARAM
)):
197 """ This gets called by the web server """
216 fixed
= re
.sub(r
'\t+', ' ', target
[c
::-1], 1)[::-1] + \
219 rv
.update(dict.fromkeys((
220 'qualif_nr', 'reasonComment_en', 'reasonComment_fr',
221 'reasonComment_de', 'reasonComment_it'),
248 "long": "the quick brown fox jumps over the lazy dog before doing a "
255 # Arguments on first line forbidden when not using vertical alignment
256 foo
= long_function_name(var_one
, var_two
,
260 print('l.%s\t%s\t%s\t%r' %
261 (token
[2][0], pos
, tokenize
.tok_name
[token
[0]], token
[1]))
265 def qualify_by_address(self
, cr
, uid
, ids
, context
=None,
266 params_to_check
=frozenset(QUALIF_BY_ADDRESS_PARAM
)):
267 """ This gets called by the web server """
313 name
="Removing the option for contract",
314 description
="contract line has been removed",
319 name
="Removing the option for contract",
320 description
="contract line has been removed",
323 rv
.update(d
=('a', 'b', 'c'),
327 rv
.update(d
=('a' + 'b', 'c'),
331 input1
= {'a': {'calc': 1 + 2}, 'b': 1
334 rv
.update(d
=('a' + 'b', 'c'),
339 def example_issue254():
343 # First, look at all the node's current children.
344 for child
in node
.children
346 for replacement
in replace(child
)
348 dict(name
=token
.undefined
)
360 #: E122:6:5 E122:7:5 E122:8:1
364 mv ./build/ ./{build}/%(revision)s/
370 #: E701:1:8 E122:2:1 E203:4:8 E128:5:1