Lines Matching refs:file_paths
159 def report_modified_files(file_paths): argument
160 count = len(file_paths)
165 for path in file_paths:
171 def normalize_whitespace(file_paths): argument
174 fixed = [path for path in file_paths if path.endswith('.py') and
180 def normalize_c_whitespace(file_paths): argument
183 for path in file_paths:
196 def normalize_docs_whitespace(file_paths): argument
198 for path in file_paths:
215 def docs_modified(file_paths): argument
217 return bool(file_paths)
221 def credit_given(file_paths): argument
223 return os.path.join('Misc', 'ACKS') in file_paths
227 def reported_news(file_paths): argument
230 for p in file_paths)
233 def regenerated_configure(file_paths): argument
235 if 'configure.ac' in file_paths:
236 return "yes" if 'configure' in file_paths else "no"
241 def regenerated_pyconfig_h_in(file_paths): argument
243 if 'configure.ac' in file_paths:
244 return "yes" if 'pyconfig.h.in' in file_paths else "no"
253 file_paths = changed_files(base_branch)
254 python_files = [fn for fn in file_paths if fn.endswith('.py')]
255 c_files = [fn for fn in file_paths if fn.endswith(('.c', '.h'))]
256 doc_files = [fn for fn in file_paths if fn.startswith('Doc') and
271 file_paths = changed_files(base_branch)
272 python_files = [fn for fn in file_paths if fn.endswith('.py')]
273 c_files = [fn for fn in file_paths if fn.endswith(('.c', '.h'))]
274 doc_files = [fn for fn in file_paths if fn.startswith('Doc') and
276 misc_files = {p for p in file_paths if p.startswith('Misc')}
290 regenerated_configure(file_paths)
292 regenerated_pyconfig_h_in(file_paths)