We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e3c1bd commit e49c32aCopy full SHA for e49c32a
.pre-commit-config.yaml
@@ -22,7 +22,7 @@ repos:
22
- id: ruff
23
args: [ --exit-non-zero-on-fix, --fix ]
24
files: ^(praw/.*.py)$
25
- rev: v0.15.1
+ rev: v0.15.7
26
27
- repo: https://github.com/LilSpazJoekp/docstrfmt
28
hooks:
praw/models/reddit/submission.py
@@ -715,8 +715,8 @@ def _fetch(self) -> None:
715
716
submission_data = submission_listing["data"]["children"][0]["data"]
717
submission = type(self)(self._reddit, _data=submission_data)
718
- delattr(submission, "comment_limit")
719
- delattr(submission, "comment_sort")
+ del submission.comment_limit
+ del submission.comment_sort
720
submission._comments = CommentForest(self)
721
722
self.__dict__.update(submission.__dict__)
0 commit comments