-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
More Python3 lint fixes #32967
More Python3 lint fixes #32967
Conversation
Some of the issues addressed include: * Don't use `l` as a variable name (confusable with `1` or `I`) * `print` statement does not exist in Py3, use `print` function instead * Implicit tuple deconstruction in function args is no longer supported, use explicit splat `*` at the call site instead * `xrange` does not exist in Py3, use `range` instead
@swift-ci Python lint |
@swift-ci Please test |
There are only a couple of remaining Python3 lint issues in the tree. I'll work through those after this gets merged. |
Build failed |
@swift-ci Please test |
Build failed |
Build failed |
Build failed |
The linux failure looks to be unrelated. Trying again. |
@swift-ci Please test Linux |
Build failed |
@swift-ci Please test Linux |
Build failed |
@swift-ci Please smoke test |
@swift-ci Please smoke test Linux |
Some of the issues addressed include:
l
as a variable name (confusable with1
orI
)print
statement does not exist in Py3, useprint
function insteaduse explicit splat
*
at the call site insteadxrange
does not exist in Py3, userange
instead