def get_all_bears():
 from coalib.settings.Section import Section
 printer = LogPrinter(NullPrinter())
 (local_bears, global_bears) = collect_bears(Section('').bear_dirs(), ['**'], [BEAR_KIND.LOCAL, BEAR_KIND.GLOBAL], printer, warn_if_unused_glob=False)
 return list(itertools.chain(local_bears, global_bears))

def get_all_bears ( ) : from coalib . settings . Section import Section printer = LogPrinter ( NullPrinter ( ) ) ( local_bears , global_bears ) = collect_bears ( Section ( '' ) . bear_dirs ( ) , [ '**' ] , [ BEAR_KIND . LOCAL , BEAR_KIND . GLOBAL ] , printer , warn_if_unused_glob = False ) return list ( itertools . chain ( local_bears , global_bears ) )
get a list of all available bears .