Module Import alias Import alias identifier Import alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr body If NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str keyword NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A argparse N/A lintreview.github github N/A sys flask url_for lintreview.web app main N/A N/A N/A N/A N/A parser N/A create_parser N/A args N/A N/A parser parse_args N/A N/A N/A args func args N/A register_hook N/A N/A args N/A N/A N/A N/A N/A N/A process_hook N/A github register_hook args N/A N/A N/A N/A sys stdout write Hook registered successfully
 N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A sys stderr write Hook registration failed
 N/A N/A N/A N/A sys stderr write N/A N/A e message N/A N/A N/A sys exit 2 N/A remove_hook N/A N/A args N/A N/A N/A N/A N/A N/A process_hook N/A github unregister_hook args N/A N/A N/A N/A sys stdout write Hook removed successfully
 N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A sys stderr write Hook removal failed
 N/A N/A N/A N/A sys stderr write N/A N/A e message N/A N/A N/A sys exit 2 N/A process_hook N/A N/A func args N/A N/A N/A 
    Generic helper for processing hook commands.
     N/A credentials None N/A N/A N/A args login_user N/A args login_pass N/A N/A credentials N/A GITHUB_USER GITHUB_PASSWORD N/A args login_user N/A args login_pass N/A N/A N/A app app_context N/A N/A credentials N/A N/A N/A credentials N/A GITHUB_URL N/A N/A app config N/A GITHUB_URL N/A repo N/A N/A github get_repository credentials N/A args user N/A args repo N/A N/A repo N/A N/A github get_repository N/A app config N/A args user N/A args repo N/A endpoint N/A url_for start_review _external True N/A N/A func repo endpoint N/A create_parser N/A N/A N/A N/A N/A desc 
    Command line utilities for lintreview.
     N/A parser N/A N/A argparse ArgumentParser description desc N/A commands N/A N/A parser add_subparsers title Subcommands description Valid subcommands N/A desc 
    Register webhooks for a given user & repo
    The installed webhook will be used to trigger lint
    reviews as pull requests are opened/updated.
     N/A register N/A N/A commands add_parser register help desc N/A N/A N/A register add_argument -u --user dest login_user help The user that has admin rights to the repo you are adding hooks to. Useful when the user in settings is not the administrator of your repositories. N/A N/A N/A register add_argument -p --password dest login_pass help The password of the admin user. N/A N/A N/A register add_argument user help The user or organization the repo is under. N/A N/A N/A register add_argument repo help The repository to install a hook into. N/A N/A N/A register set_defaults func register_hook N/A desc 
    Unregister webhooks for a given user & repo.
     N/A remove N/A N/A commands add_parser unregister help desc N/A N/A N/A remove add_argument -u --user dest login_user help The user that has admin rights to the repo you are removing hooks from. Useful when the user in settings is not the administrator of your repositories. N/A N/A N/A remove add_argument -p --password dest login_pass help The password of the admin user. N/A N/A N/A remove add_argument user help The user or organization the repo is under. N/A N/A N/A remove add_argument repo help The repository to remove a hook from. N/A N/A N/A remove set_defaults func remove_hook N/A parser N/A N/A N/A __name__ __main__ N/A N/A N/A main