Replies: 2 comments 20 replies
-
Thanks for pinging me. Your tool looks nice.
Yeah, we are working on being mentioned in the original darglint2 repository. We can definitely mention your project in our docs. In contrast to pydoclint darglint2 isn't a new linter or a new tool but a fork of darglint. We basically took over maintaining the project since we found it valuable. I also noticed that performance is almost a deal breaking issue with darglint (or darglint2) which we will definitely have to face when we decide to keep the project going. The usefulness of darglint2 has to be reevaluated now that there is a faster alternative. Can you maybe provide a comparison of supported lint rules? For that matter I would also be interested in the other features you have planned and the philosophy/vision of your tool. For now I think there might be value in darglint2 because I have big plans on extending the linting capabilities to class and module docstrings.
What did you do differently to improve the speed? Which algorithms do you use? |
Beta Was this translation helpful? Give feedback.
-
Hi @jsh9, thanks for reaching out! The story behind the Darglint2 fork is:
Regarding performance, Terrence was aware of the problem and had already experimented replacing the parser with an LR parser (see darglint#186 comments). There's also a utility for measuring the tool's performance characteristics in the integration tests. I think it definitely makes sense for Darglint2 documentation to point to pydoclint (it already mentions pydocstyle) and warn about the current performance issue. If you guys decide to join forces and make pydoclint fill all the needs for which people use Darglint, I think the value of Darglint2 becomes to be a maintained fork of Darglint for those existing users who need the bugfixes but don't want to migrate to a different tool. In that case we should naturally point to maintained tools at the top of the Darglint2 README (It's a bit unfortunate that we can't achieve that for the README of the original Darglint on PyPI nor on GitHub). |
Beta Was this translation helpful? Give feedback.
-
Hi @akaihola and @real-yfprojects:
I was a user of darglint. I found some aspects of darglint a dealbreaker for me, so a few weeks ago I wrote a new linter, pydoclint, from scratch (https://github.com/jsh9/pydoclint).
It was not until today that I found out about darglint2 that you started (also recently).
That's why I'm starting this discussion thread to let you know of my linter.
In any case, I plan to keep maintaining and improving pydoclint, and I have no intention to contribute to darglint or any of its derivatives, for two main reasons:
# noqa: ...
with flake8 wellBeta Was this translation helpful? Give feedback.
All reactions