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

Add --check-diff flag which combines check and diff #152

Merged
merged 6 commits into from Oct 6, 2022

Conversation

ericstengard
Copy link
Contributor

This change adds a new flag which makes it possible to get the power of --check and its exit codes but also a diff output to stdout. This was requested in an issue and seems like a good addition. Added new keyword to keep backwards compatibility. #110

ericstengard and others added 3 commits October 3, 2022 22:18
This change adds a new flag which makes it possible to get the power of
--check and its exit codes but also a diff output to stdout. This was
requested in an issue and seems like a good addition. Added new keyword
to keep backwards compatibility.
Copy link
Collaborator

@fsouza fsouza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one note and we should be good to go. Thanks for contributing!

autoflake.py Outdated Show resolved Hide resolved
@fsouza fsouza mentioned this pull request Oct 6, 2022
Automatically makes sure that we can only supply either --config och
--config-diff
Copy link
Collaborator

@fsouza fsouza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@fsouza fsouza merged commit db8a082 into PyCQA:main Oct 6, 2022
A test used --check instead of --check-diff, fix this.
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

2 participants