-
Notifications
You must be signed in to change notification settings - Fork 6k
Add protect_content to Defaults
#2840
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Bibo-Joshi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! left some comments. regarding api_defaults:
It's public, because we access it outside of Defaults in Bot. And it doesn't provide any info that's not available otherwise - you can just check the properties of Defaults. In fact, even the properties are of no actual value for a user …
IMO it's not necessary to make it private and then having to shut up pylint about access to private attributes.
If you prefer, we can even just give it a docstring.
Bibo-Joshi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the updates!
23f75f0 to
f81ea04
Compare
Bibo-Joshi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! @Poolitzer are you interested in reviewing?
the deepsource failures are unrelated and almost all false positives - let's ignore them on this PR
Poolitzer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Checklist for PRs
.. versionadded:: version,.. versionchanged:: versionor.. deprecated:: versionto the docstrings for user facing changes (for methods/class descriptions, arguments and attributes)AUTHORS.rst(optional)Any more changes to be done?
Closes #2839