File: namespacing.py

package info (click to toggle)
python-invoke 2.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,856 kB
  • sloc: python: 15,986; makefile: 24
file content (16 lines) | stat: -rw-r--r-- 189 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from invoke import Collection, task, call

from subspace import module


@task
def top_pre(c):
    pass


@task(call(top_pre))
def toplevel(c):
    pass


ns = Collection(module, toplevel)