Skip to content
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

Introducing Dry-Run Mode #845

Closed
wants to merge 2 commits into from
Closed

Conversation

Snusmumr1000
Copy link

@Snusmumr1000 Snusmumr1000 commented Jun 21, 2023

I have added a dry-run argument to PyUpgrade, allowing developers to validate Python files without making any changes. This feature provides informative feedback on potential updates without altering the code. People can use it in their own CI/CD tools without using pre-commit.

Hope, this feature will be accepted as it is currently needed in our project.

We still can use the approach of finding all the files, and piping them into the PyUpgrade with '-' argument, however it requires another layer of logic.

@asottile asottile closed this Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants