Home | History | Annotate | Download | only in tools

Lines Matching refs:file_path

85 def TrailingWhitespaceRemover(line, file_path, line_number):
89 print 'Removing trailing whitespace in %s:%s' % (file_path, line_number)
93 def CrlfReplacer(line, file_path, line_number):
96 print 'Replacing CRLF with LF in %s:%s' % (file_path, line_number)
100 def TabReplacer(line, file_path, line_number):
103 print 'Replacing Tab with whitespace in %s:%s' % (file_path, line_number)
117 def EOFOneAndOnlyOneNewlineAdder(file_content, file_path):
122 print 'Added exactly one newline to %s' % file_path
126 def SvnEOLChecker(file_content, file_path):
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)