-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Start upgrading codebase to Py3 for every changed file #57936
Conversation
45220bd
to
77bcc3a
Compare
The pipeline changes worked, see https://jenkinsci.saltstack.com/job/pr-pre-commit/job/PR-57936/1/console |
This PR only "works" as expected once saltstack/salt-jenkins-pipeline-libs#33 is merged |
e4e2d65
to
288727b
Compare
288727b
to
7d912e2
Compare
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.
Does this mean that everyone who submits code will be running pyupgrade as part of their PR?
If they have pre-commit configured, yes, for the files they change, only those. |
To the whole codebase. |
What does this PR do?
Starts upgrading the codebase to Py3 for every changed file by running
pyupgrade
against it.We only do this for each changed file and not the whole code base to avoid MASSIVE code churn.