Home | History | Annotate | Download | only in utils

Lines Matching refs:file_path

222 def should_check_file(file_path):
226 @param file_path: abs path of file to check.
229 file_path = os.path.abspath(file_path)
230 if file_path.endswith('.py'):
231 return all(not fnmatch.fnmatch(file_path, '*' + pattern)
236 def check_file(file_path, base_opts):
241 @param file_path: path to the file we need to run pylint on.
243 if not isinstance(file_path, basestring):
245 type(file_path))
247 if should_check_file(file_path):
248 pylint_runner = pylint.lint.Run(base_opts + [file_path], exit=False)
362 temp_files = [os.path.join(tempdir.name, file_path.split('/')[-1:][0])
363 for file_path in work_tree_files]