Lines Matching refs:file_path
87 def TrailingWhitespaceRemover(line, file_path, line_number): argument
91 print('Removing trailing whitespace in %s:%s' % (file_path, line_number))
95 def CrlfReplacer(line, file_path, line_number): argument
98 print('Replacing CRLF with LF in %s:%s' % (file_path, line_number))
102 def TabReplacer(line, file_path, line_number): argument
105 print('Replacing Tab with whitespace in %s:%s' % (file_path, line_number))
119 def EOFOneAndOnlyOneNewlineAdder(file_content, file_path): argument
124 print('Added exactly one newline to %s' % file_path)
128 def SvnEOLChecker(file_content, file_path): argument
131 'svn propget svn:eol-style %s' % file_path)
133 print('Setting svn:eol-style property to LF in %s' % file_path)
134 os.system('svn ps svn:eol-style LF %s' % file_path)