def configuration(f):
 import click
 from functools import update_wrapper
 @click.pass_context
 def inner(ctx, *args, **kwargs):
  if (os.environ.get('_SENTRY_SKIP_CONFIGURATION') != '1'):
   from sentry.runner import configure
   configure()
  return ctx.invoke(f, *args, **kwargs)
 return update_wrapper(inner, f)

def configuration ( f ) : import click from functools import update_wrapper @ click . pass_context def inner ( ctx , * args , ** kwargs ) : if ( os . environ . get ( '_SENTRY_SKIP_CONFIGURATION' ) != '1' ) : from sentry . runner import configure configure ( ) return ctx . invoke ( f , * args , ** kwargs ) return update_wrapper ( inner , f )
load and configure sentry .