Module Expr Str Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad ListLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BoolOpOr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str For NameStore SubscriptLoad NameLoad Slice Num body If UnaryOpNot Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore ListLoad For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore SubscriptLoad NameLoad Slice Num body If CompareNotIn NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore AttributeLoad SubscriptLoad NameLoad Index NameLoad attr If CompareNotIn SubscriptLoad NameLoad Index Num NameLoad body Raise Call NameLoad Str Return SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr ListComp BinOpAdd BinOpAdd NameLoad Str NameLoad comprehension NameStore Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr ListComp TupleLoad BinOpAdd BinOpAdd NameLoad Str NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index NameLoad If Call NameLoad NameLoad NameLoad body Return ListComp NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Return ListLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Assign NameStore Dict FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad finalbody If NameLoad body Expr Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad attr Str For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore NameLoad CompareNotIn NameLoad TupleLoad Str Str Str Str Str Str Assign AttributeStore NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BoolOpOr Call AttributeLoad NameLoad attr NameLoad Str If Call NameLoad NameLoad NameLoad body TryExcept body Assign AttributeStore NameLoad attr Call NameLoad handlers ExceptHandler body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr BoolOpOr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str TryExcept body Return Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Import alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias Assign TupleStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameStore Call NameLoad Assign AttributeStore NameLoad attr NameStore Call NameLoad Assign NameStore Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad TryExcept body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad BinOpMult Str Num AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr ListLoad BinOpMult Str Num AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr While NameLoad body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad BinOpMult Str Num BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMult Str Num BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call NameLoad Call NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list
N/A N/A Task helper N/A os N/A imp N/A sys N/A inspect collections defaultdict shovel logger shovel.args Args task N/A N/A func N/A N/A N/A Register this task with shovel, but return the original function N/A N/A N/A Task make func N/A func N/A Shovel N/A object N/A N/A A collection of tasks contained in a file or folder load N/A N/A cls path base N/A None N/A N/A Either load a path and return a shovel object or return None N/A obj N/A cls N/A N/A N/A obj read path base N/A obj N/A classmethod __init__ N/A N/A self tasks N/A None N/A N/A N/A self overrides None N/A N/A self _tasks N/A tasks N/A N/A N/A self map N/A defaultdict Shovel N/A N/A N/A self extend N/A tasks N/A N/A extend N/A N/A self tasks N/A N/A N/A Add tasks to this particular shovel N/A N/A N/A N/A self _tasks extend tasks N/A task tasks N/A N/A current N/A self map N/A modules N/A N/A N/A task fullname split . N/A module N/A modules N/A -1 N/A N/A N/A N/A isinstance N/A current N/A module Shovel N/A N/A N/A N/A logger warn N/A Overriding task %s with a module N/A N/A current N/A module file N/A shovel N/A Shovel N/A N/A shovel overrides N/A current N/A module N/A N/A current N/A module shovel N/A current N/A N/A current N/A module map N/A name N/A modules N/A -1 N/A N/A name current N/A N/A N/A N/A logger warn N/A Overriding %s with %s N/A N/A N/A . join modules N/A task file N/A N/A task overrides N/A current N/A name N/A N/A current N/A name task N/A read N/A N/A self path base N/A None N/A N/A Import some tasks N/A N/A base None N/A N/A base N/A N/A os getcwd N/A absolute N/A N/A N/A os path abspath path N/A N/A N/A N/A os path isfile absolute N/A N/A N/A N/A logger info N/A Loading %s absolute N/A N/A N/A self extend N/A N/A Task load path base N/A N/A N/A N/A N/A os path isdir absolute N/A N/A tasks N/A N/A N/A root _ files N/A N/A os walk absolute N/A N/A files N/A f N/A f files N/A N/A f endswith .py N/A child files N/A N/A absolute N/A N/A N/A os path join root child N/A N/A N/A logger info N/A Loading %s absolute N/A N/A N/A tasks extend N/A N/A Task load absolute base N/A N/A N/A self extend tasks N/A __getitem__ N/A N/A self key N/A N/A N/A Find a task with the provided name N/A current N/A self map N/A split N/A N/A key split . N/A module N/A split N/A -1 N/A N/A N/A module current N/A N/A N/A KeyError Module not found N/A current N/A N/A current N/A module map N/A N/A N/A split N/A -1 current N/A N/A N/A KeyError Task not found N/A N/A current N/A N/A split N/A -1 N/A __contains__ N/A N/A self key N/A N/A N/A N/A N/A N/A bool N/A N/A self __getitem__ key N/A N/A N/A KeyError N/A N/A False N/A keys N/A N/A self N/A N/A N/A Return all valid keys N/A keys N/A N/A N/A key value N/A N/A N/A self map items N/A N/A N/A isinstance value Shovel N/A N/A N/A N/A keys extend N/A N/A N/A key . k N/A k N/A N/A value keys N/A N/A N/A N/A keys append key N/A N/A sorted keys N/A items N/A N/A self N/A N/A N/A Return a list of tuples of all the keys and tasks N/A pairs N/A N/A N/A key value N/A N/A N/A self map items N/A N/A N/A isinstance value Shovel N/A N/A N/A N/A pairs extend N/A N/A N/A N/A key . k v N/A N/A k v N/A N/A value items N/A N/A N/A N/A pairs append N/A key value N/A N/A sorted pairs N/A tasks N/A N/A self name N/A N/A N/A Get all the tasks that match a name N/A found N/A self N/A name N/A N/A isinstance found Shovel N/A N/A N/A v N/A N/A _ v N/A N/A found items N/A N/A found N/A N/A Task N/A object N/A N/A An object representative of a task N/A _cache N/A N/A _tasks N/A make N/A N/A cls obj N/A N/A N/A Given a callable object, return a new callable object N/A N/A N/A N/A N/A N/A cls _cache append N/A Task obj N/A N/A N/A Exception N/A N/A N/A N/A logger exception N/A Unable to make task for %s N/A repr obj N/A classmethod load N/A N/A cls path base N/A None N/A N/A Return a list of the tasks stored in a file N/A base N/A base N/A N/A os getcwd N/A absolute N/A N/A N/A os path abspath path N/A parent N/A N/A N/A os path dirname absolute N/A N/A name _ _ N/A N/A N/A N/A N/A os path basename absolute rpartition .py N/A N/A fobj path description N/A N/A imp find_module name N/A parent N/A N/A N/A N/A N/A imp load_module name fobj path description N/A N/A fobj N/A N/A N/A N/A fobj close N/A N/A relative _ _ N/A N/A N/A N/A N/A os path relpath path base rpartition .py N/A task N/A cls _cache N/A N/A parts N/A N/A relative split N/A N/A os path sep N/A N/A N/A parts append N/A task name N/A parts N/A N/A N/A part strip . N/A part parts N/A part N/A shovel .shovel __init__ . .. N/A N/A task fullname N/A N/A . join parts N/A N/A N/A logger debug N/A Found task %s in %s N/A N/A task fullname N/A task module N/A N/A N/A cls clear N/A classmethod clear N/A N/A cls N/A N/A N/A Clear and return the cache N/A cached N/A cls _cache N/A N/A cls _cache N/A N/A cached N/A classmethod __init__ N/A N/A self obj N/A N/A N/A N/A N/A callable obj N/A N/A N/A TypeError N/A Object not callable: %s obj N/A N/A self name N/A obj __name__ N/A N/A self doc N/A N/A N/A inspect getdoc obj N/A N/A isinstance obj type N/A N/A N/A N/A N/A self _obj N/A obj N/A N/A N/A N/A N/A TypeError N/A %s => Task classes must take no arguments N/A self name N/A N/A self spec N/A N/A inspect getargspec N/A N/A self _obj __call__ N/A N/A self doc N/A N/A N/A inspect getdoc N/A N/A self _obj __call__ N/A self doc N/A N/A self line Unknown line N/A N/A self file Unknown file N/A N/A N/A self spec N/A N/A inspect getargspec obj N/A N/A self _obj obj N/A N/A self line N/A N/A obj __code__ co_firstlineno N/A N/A self file N/A N/A obj __code__ co_filename N/A N/A self module N/A N/A self _obj __module__ N/A N/A self fullname N/A self name N/A N/A self overrides None N/A __call__ N/A N/A self N/A args kwargs N/A N/A Invoke the task itself N/A N/A N/A N/A N/A self _obj args kwargs N/A N/A N/A Exception N/A exc N/A N/A N/A N/A logger exception N/A Failed to run task %s N/A self name N/A exc N/A capture N/A N/A self N/A args kwargs N/A N/A Run a task and return a dictionary with stderr, stdout and the
        return value. Also, the traceback from the exception if there was
        one N/A traceback N/A N/A StringIO StringIO N/A N/A N/A ImportError N/A io StringIO N/A N/A stdout stderr N/A N/A sys stdout N/A sys stderr N/A N/A sys stdout out N/A StringIO N/A N/A sys stderr err N/A StringIO N/A result N/A exception stderr stdout return None None None None N/A N/A N/A N/A result N/A return N/A N/A self __call__ args kwargs N/A N/A N/A Exception N/A N/A N/A result N/A exception N/A N/A traceback format_exc N/A N/A N/A sys stdout N/A sys stderr N/A stdout stderr N/A N/A result N/A stderr N/A N/A err getvalue N/A N/A result N/A stdout N/A N/A out getvalue N/A result N/A dry N/A N/A self N/A args kwargs N/A N/A Perform a dry-run of the task N/A N/A Would have executed:
%s%s N/A N/A self name N/A N/A N/A Args N/A self spec explain args kwargs N/A help N/A N/A self N/A N/A N/A Return the help string of the task N/A result N/A N/A = 50 N/A self name N/A N/A self doc N/A N/A N/A N/A result extend N/A N/A = 30 N/A self doc N/A override N/A self overrides N/A override N/A N/A N/A isinstance override Shovel N/A N/A N/A N/A result append Overrides module N/A N/A N/A N/A result append N/A Overrides %s N/A override file N/A override N/A override overrides N/A N/A N/A result extend N/A N/A = 30 N/A From %s on line %i N/A N/A self file N/A self line N/A = 30 N/A %s%s N/A N/A self name N/A str N/A Args N/A self spec N/A N/A N/A N/A os linesep join result N/A N/A