def shall_skip(module, opts):
 if ((not opts.implicit_namespaces) and (not path.exists(module))):
  return True
 if (path.exists(module) and (path.getsize(module) <= 2)):
  return True
 filename = path.basename(module)
 if ((filename != '__init__.py') and filename.startswith('_') and (not opts.includeprivate)):
  return True
 return False

def shall_skip ( module , opts ) : if ( ( not opts . implicit_namespaces ) and ( not path . exists ( module ) ) ) : return True if ( path . exists ( module ) and ( path . getsize ( module ) <= 2 ) ) : return True filename = path . basename ( module ) if ( ( filename != '__init__.py' ) and filename . startswith ( '_' ) and ( not opts . includeprivate ) ) : return True return False
check if we want to skip this module .