Skip to content

Identifying decorator #7

@vavrines

Description

@vavrines

First thanks for creating this package!
It works perfectly most of the time, but I found a problem in identifying decorators for functions.
An illustrative example would be like

@ti.kernel
def solver_ti(u):
    pass

The package would recognize @ti.kernel as a single sentence instead of the decorator of the function.
This particular decorator is from taichi, but I guess the other ones like Numba will face the same issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions