File: mytasks.py

package info (click to toggle)
python-invocations 4.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 592 kB
  • sloc: python: 2,262; makefile: 3
file content (34 lines) | stat: -rw-r--r-- 425 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
"""
Some fake tasks to test task autodoc.
"""

from invoke import task


def not_a_task(c):
    """
    I am a regular function.
    """
    pass


@task
def undocumented(c):
    # I have no docstring so I may not show up. Or...may I?!
    pass


@task
def base_case(c):
    """
    Literally the smallest possible task.
    """
    pass


@task
def simple_case(c, simple_arg):
    """
    Parameterization!
    """
    pass