3 print # indented with 1 tab
41 #: E101 E101 W191 W191
42 if start[1] > end_col and not (
43 over_indent == 4 and indent_next):
44 return(0, "E121 continuation line over-"
45 "indented for visual indent")
51 def long_function_name(
52 var_one, var_two, var_three,
56 if ((row < 0 or self.moduleCount <= row or
57 col < 0 or self.moduleCount <= col)):
58 raise Exception("%s,%s - %s" % (row, col, self.moduleCount))
59 #: E101 E101 E101 E101 W191 W191 W191 W191 W191 W191
62 start, 'E121 lines starting with a '
63 'closing bracket should be indented '
64 "to match that of the opening "
69 # you want vertical alignment, so use a parens
70 if ((foo.bar("baz") and
75 # also ok, but starting to look like LISP
76 if ((foo.bar("baz") and
89 #: W191:2:1 W191:3:1 E101:3:2
90 if length > options.max_line_length:
91 return options.max_line_length, \
92 "E501 line too long (%d characters)" % length
97 if os.path.exists(os.path.join(path, PEP8_BIN)):
98 cmd = ([os.path.join(path, PEP8_BIN)] +
99 self._pep8_options(targetfile))
102 multiline string with tab in it'''
109 '''sometimes, you just need to go nuts in a multiline string
110 and allow all sorts of crap
111 like mixed tabs and spaces
113 or trailing whitespace
114 or long long long long long long long long long long long long long long long long long lines
119 even though the noqa comment is not immediately after the string
123 if foo is None and bar is "frop" and \
134 #: W191 W191 W191 W191 W191
136 """areas.json - All regions are accounted for."""