-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Fix lint issues for privacy app #2888
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
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.
I think this would be safe to rename the variable and remove the builtin override altogether. If there is any strong case against this, I don't feel strongly about this though.
@@ -8,12 +14,17 @@ | |||
log = logging.getLogger(__name__) | |||
|
|||
|
|||
# The file builting was removed in Python 3, so we should not use it | |||
# Setting to None here to silence pylint for this builtin only | |||
file = None # pylint: disable=redefined-builtin |
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.
Perhaps instead this should just rename the file
argument on the various copy
methods to not use a builtin. A quick search shows this as the only mention of the file
argument:
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.
That was my first thought, but I wasn't sure if my searches were finding everything. I'll go ahead and do this.
* Fix lint issues for privacy app * Rename file param to Syncers * Roll back comment change
No description provided.