3 ms·
I've never used, but have heard good things about darglint (although it's now archived): https://github.com/terrencepreilly/darglint https://github.com/terrence
by charliermarsh 4y ago
I've never used, but have heard good things about darglint (although it's now archived): https://github.com/terrencepreilly/darglint https://github.com/terrencepreilly/darglint
A lot of folks want us to add that kind of enforcement to Ruff (https://github.com/charliermarsh/ruff/issues/458 https://github.com/charliermarsh/ruff/issues/458), and I want to do it, but it's a big project and some other stuff has higher priority :)
- claytonjy 4y agoThank you for the response Charlie! I also found darglint but yes, even less maintained than pydoctest. Totally understood this isn't a top priority, but very glad to hear it is potentially in-scope. I've been looking for an excuse to get into rust... we'll see.
- charliermarsh 4y agoOf course. There's at least one Ruff contributor who I know is working on a Python docstring parser, written in Rust, with formal grammars etc. (unlike Pydocstyle which relies on regex). I don't know the status of that project, but it would be very cool to see, and Ruff could of course leverage it :)