def add_and_update_points_of_entry(project): count = 0 for path in python_modules_below(project.get_points_of_entry_path()): poe = ensure_point_of_entry(project, path) if poe.is_out_of_sync(): count += 1 return count
def add_and_update_modules(project): count = 0 for modpath in python_modules_below(project.path): try: module = project.find_module_by_full_path(modpath) if module.is_up_to_date(): log.debug("%s hasn't changed since last inspection, skipping." % module.subpath) continue except ModuleNotFound: pass log.info("Inspecting module %s." % project._extract_subpath(modpath)) static.inspect_module(project, modpath) count += 1 return count
def add_and_update_modules(project): count = 0 for modpath in python_modules_below(project.path): try: module = project.find_module_by_full_path(modpath) if module.is_up_to_date(): log.debug( "%s hasn't changed since last inspection, skipping." % module.subpath) continue except ModuleNotFound: pass log.info("Inspecting module %s." % project._extract_subpath(modpath)) static.inspect_module(project, modpath) count += 1 return count