IODA Bundle
collect_sources.py
Go to the documentation of this file.
1 #!/usr/bin/env python3
2 
3 import path
4 
5 
6 def collect_sources(ignore_func):
7  top_path = path.Path(".")
8  for py_path in top_path.walkfiles("*.py"):
9  py_path = py_path.normpath() # get rid of the leading '.'
10  if not ignore_func(py_path):
11  yield py_path
def collect_sources(ignore_func)