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 to black test command #2815

Merged
merged 1 commit into from
Jan 7, 2023
Merged

Conversation

binste
Copy link
Contributor

@binste binste commented Jan 7, 2023

Prior to changing this command in #2774, it already had the --check argument. This argument makes sure that the status is returned and therefore that the command fails if files would be formatted. I think removing it was unintentional (the reasoning in #2774 (comment) was around adding --diff --color and not removing --check). I prefer if the command fails, else you need to scroll through the console output of pytest to get to the output of black to see the outcome.

@mattijn
Copy link
Contributor

mattijn commented Jan 7, 2023

Thanks! Looks good.

@mattijn mattijn merged commit 6778e3c into vega:master Jan 7, 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.

2 participants