Lines Matching refs:file_path
203 def should_check_file(file_path): argument
210 file_path = os.path.abspath(file_path)
211 if file_path.endswith('.py'):
212 return all(not fnmatch.fnmatch(file_path, '*' + pattern)
217 def check_file(file_path, base_opts): argument
226 if not isinstance(file_path, basestring):
228 type(file_path))
230 if should_check_file(file_path):
231 pylint_runner = pylint.lint.Run(base_opts + [file_path], exit=False)
350 temp_files = [os.path.join(tempdir.name, file_path.split('/')[-1:][0])
351 for file_path in work_tree_files]