Lines Matching refs:file_path
85 def TrailingWhitespaceRemover(line, file_path, line_number): argument
89 print 'Removing trailing whitespace in %s:%s' % (file_path, line_number)
93 def CrlfReplacer(line, file_path, line_number): argument
96 print 'Replacing CRLF with LF in %s:%s' % (file_path, line_number)
100 def TabReplacer(line, file_path, line_number): argument
103 print 'Replacing Tab with whitespace in %s:%s' % (file_path, line_number)
117 def EOFOneAndOnlyOneNewlineAdder(file_content, file_path): argument
122 print 'Added exactly one newline to %s' % file_path
126 def SvnEOLChecker(file_content, file_path): argument
129 'svn propget svn:eol-style %s' % file_path)
131 print 'Setting svn:eol-style property to LF in %s' % file_path
132 os.system('svn ps svn:eol-style LF %s' % file_path)