Skip to content
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 opened this issue Dec 5, 2015 · 0 comments

Comments

@tovrstra
Copy link

tovrstra commented Dec 5, 2015

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant