Closed timendum closed 1 year ago
Praw has typing annotation but it's not published annotated, is that intended?
Could you elaborate?
@LilSpazJoekp
I am by no means an expert in the field, but I've found this informatio.
Also, when I import praw as a dependency, mypy doesn't find any type for praw.
module is installed, but missing library stubs or py.typed marker
Seems simple enough to implement. If you'd like you could open a separate MR for this.
@LilSpazJoekp
To publish the type hinting, we must find a solution for attributes, otherwise there will be errors on any submission.title
like, because attributes are coming from Reddit and mypy (or others) reports error.
Not sure how that's possible. Most attribute are dynamic.
Feature Summary and Justification
Just a small change in the CommentForest.replace_more method: limit can be
None
, as per documentation.A small question: Praw has typing annotation but it's not published annotated, is that intended?