Lines Matching full:blank
949 # unnecessary blank line warnings later in the code.
1925 """Returns true if the given line is blank.
1927 We consider a line to be blank if the line is empty or consists of
1934 True, if the given line is blank.
1951 Blank/comment lines are not counted so as to avoid encouraging the removal
2006 function_state.Count() # Count non-blank/non-comment lines.
2204 spaces between code and comment, don't start a block with a blank
2205 line, don't end a function with a blank line, don't add a blank line
2206 after public/protected/private, don't have too many blank lines in a row.
2220 # Before nixing comments, check if the line is blank for no good
2222 # blank lines at the end of a function (ie, right before a line like '}'
2224 # Skip all the blank line checks if we are immediately inside a
2225 # namespace body. In other words, don't issue blank line warnings
2236 # TODO(unknown): Don't complain if line before blank line, and line after,
2241 # OK, we have a blank line at the start of a code block. Before we
2271 'Blank line at the start of a code block. Is this needed?')
2272 # Ignore blank lines at the end of a block in a long if-else
2275 # // Something followed by a blank line
2286 'Blank line at the end of a code block. Is this needed?')
2291 'Do not leave a blank line after "%s:"' % matched.group(1))
2490 """Checks for additional blank line issues related to sections.
2492 Currently the only thing checked here is blank line before protected/private.
2519 # not a blank line, but don't do this if the previous line contains
2541 '"%s:" should be preceded by a blank line' % matched.group(1))
2545 """Return the most recent non-blank line and its line number.
2553 non-blank line before the current line, or the empty string if this is the
2554 first non-blank line. The second is the line number of that line, or -1
2555 if this is the first non-blank line.
2561 if not IsBlankLine(prevline): # if not a blank line...
2585 # previous non-blank line is ';', ':', '{', or '}', or if the previous
2817 # One or three blank spaces at the beginning of the line is weird; it's