Terrence Reilly
Terrence Reilly
So, I commented on the last PR that you had closed, > Could you explain what problem this PR is solving? How is doing analysis on the function's type signature...
@lucasiscovici-Loreal Sorry, I was waiting for more. I wrote earlier > If you'd like to come up with a solution to extract the information *without adding a dependency*... But your...
This is something I've been thinking about quite a bit as I rewrite the parser. In fact, yes, I plan to attempt this, though I'm unsure how successful it will...
I wrote a short proof-of-concept for you (and to make sure that it can actually be done.) check out 4b05bee4176e7049062190fe5000e194e6ee4364 on the formatter-example branch. (You can diff it against 54a1cc8f30153590f781396febf1c727767eae4f...
Oh, to run the example, you just have to make sure you have darglint installed in your pip environment (you can create a virtualenv, then run `pip install -e .`...
@AlexArcPy, I agree with you that it would be nice to enforce a blank line at the end of a docstring. (That's my preference, too.) Like rpkilby said, though, Google's...
That may be possible. Currently, darglint reads the file and then uses the `ast` module to parse the python source. `ast` doesn't provide comments. Obviously, we could do a search...
Thanks, @rpkilby. I took a look as well. It seems that pydocstyle uses the `tokenize` module, rather than `ast`. In fact, that may be the more efficient approach, since it...
This seems pretty reasonable. This use case doesn't conform by the Google style guide, which [says](https://google.github.io/styleguide/pyguide.html#383-functions-and-methods) that properties should follow the same conventions as attributes (which are documented in the...
In fact, you can give an implementation to an abstract method in Python. The note at the end of the [documentation](https://docs.python.org/3/library/abc.html#abc.abstractmethod) for `abstractmethod` says > Unlike Java abstract methods, these...