-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Fix a bunch of python lint errors #32951
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
@swift-ci Please test |
Build failed |
@swift-ci python lint |
|
@swift-ci python lint |
1 similar comment
@swift-ci python lint |
@swift-ci Please test |
@CodaFi There are about a dozen more issues still to be fixed before Python 3 lint is happy with this. Once that's done, it would be great to get the "python lint" CI updated to use Python 3 lint. |
Build failed |
Build failed |
@swift-ci Please test windows |
Python 3 lint seems to catch a lot more issues than Python 2 lint.
This PR contains fixes for a number of them. The issues include:
l
as a variable name. This is easily confused with1
orI
. (Python_lint also complains aboutO
as a variable name for the same reason.)print()
statements (these are required in python 3)