Lines Matching refs:file_path
248 def should_check_file(file_path): argument
255 file_path = os.path.abspath(file_path)
256 if file_path.endswith('.py'):
257 return all(not fnmatch.fnmatch(file_path, '*' + pattern)
262 def check_file(file_path, base_opts): argument
269 if not isinstance(file_path, basestring):
271 type(file_path))
273 if should_check_file(file_path):
274 pylint_runner = pylint.lint.Run(base_opts + [file_path], exit=False)
388 temp_files = [os.path.join(tempdir.name, file_path.split('/')[-1:][0])
389 for file_path in work_tree_files]