Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

How to use pep257 with user-provided docstrings (e.g. from C extensions)? #163

Open
@tovrstra

Description

@tovrstra

I'd like to verify docstrings from C extensions, if possible with pep257. Is there a (simple) way to do this?

I guess that I should first build and import the C extension, which is not a problem in my case. Can I somehow pass a docstring (e.g. from an imported module) to a checker function in pep257? I know that pep257 is designed as a static code checker but it would be nice to use it in other circumstances as well, even if that involves a little hacking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions