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

Pre-emptive code formatting check? #157

Open
rod-glover opened this issue Aug 5, 2020 · 0 comments
Open

Pre-emptive code formatting check? #157

rod-glover opened this issue Aug 5, 2020 · 0 comments

Comments

@rod-glover
Copy link
Contributor

The Python CI action (and most others) takes a long time to run, on the order of 15 minutes. This is due to the install step. What I've had happen several times is that this action fails right at the end because the code formatting checker (Black now) raises an error.

It would be better if this check were done immediately after the code checkout step, and maybe short-circuited the whole thing or otherwise indicated failure early. (Of course, it would be better if I checked my code before every push, but I don't always.) Is this possible?

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

No branches or pull requests

1 participant