Skip to content

Add # docstub: ignore comment directive #48

Description

@lagru

Similar to # docstub: on ... #docstub: off it would be nice to have a directive to disable transformation for one line. E.g., this would be useful to preserve a decorator such as click.command that's typing relevant but from a third-party package.

Though, for now something like

# docstub: off
@click.command()
# docstub: on
@click.option(...)
def main(*args, **kwargs):
    ...

works too. So not of utmost priority.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or functionalitylower priorityNot immediately important or essential

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions