예제 #1
0
def with_format(ctx):
    return pretty.formatted(
        with_header=ctx.parent.params['header'],
        fmt=ctx.parent.params['format'] or pretty.DEFAULT_FORMAT,
    )
예제 #2
0
def with_format(ctx):
    return pretty.formatted(
        with_header=ctx.parent.params['header'],
        fmt=ctx.parent.params['format'] or pretty.DEFAULT_FORMAT,
    )
예제 #3
0
def with_format(ctx):
    return pretty.formatted(
        with_header=ctx.parent.params["header"],
        fmt=ctx.parent.params["format"] or pretty.DEFAULT_FORMAT,
    )