Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def watchmaker_client(watchmaker_arguments):
"""Return watchmaker client with defaults."""
return watchmaker.Client(watchmaker_arguments)
def main(extra_arguments=None, **kwargs):
"""Entry point for Watchmaker cli."""
prepare_logging(kwargs['log_dir'], kwargs['log_level'])
sys.excepthook = exception_hook
watchmaker_arguments = watchmaker.Arguments(**dict(
extra_arguments=extra_arguments,
**kwargs
))
watchmaker_client = watchmaker.Client(watchmaker_arguments)
sys.exit(watchmaker_client.install())