How to use the kibitzr.app.Application function in kibitzr

To help you get started, we’ve selected a few kibitzr examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github kibitzr / kibitzr / kibitzr / cli.py View on Github external
def once(ctx, name):
    """Run kibitzr checks once and exit"""
    from kibitzr.app import Application
    app = Application()
    sys.exit(app.main(once=True, log_level=ctx.obj['log_level'], names=name))
github kibitzr / kibitzr / kibitzr / cli.py View on Github external
def run(ctx, name):
    """Run kibitzr in the foreground mode"""
    from kibitzr.app import Application
    app = Application()
    sys.exit(app.main(once=False, log_level=ctx.obj['log_level'], names=name))
github kibitzr / kibitzr / kibitzr / cli.py View on Github external
def firefox():
    """Launch Firefox with persistent profile"""
    from kibitzr.app import Application
    Application().run_firefox()
github kibitzr / kibitzr / kibitzr / cli.py View on Github external
def telegram_chat():
    """Return chat id for the last message sent to Telegram Bot"""
    # rename import to escape name clashing:
    from kibitzr.app import Application
    app = Application()
    app.telegram_chat()