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

#378 Get a nice error message when running diff-quality with a tool which is not installed #380

Merged
merged 3 commits into from Dec 16, 2023

Conversation

dperl-dls
Copy link
Contributor

Fixes #378

To test, compare with "steps to reproduce" in the linked issue

Black is upset, looks like the change is simple enough
@Bachmann1234
Copy link
Owner

ok, quick glance looks like some tests broke. My guess is its some mocking that broke. Let me know if you need some help looking a bit deeper

@Bachmann1234
Copy link
Owner

Also, hope you dont mind my commit, I just wanted to get past the formatting step

@dperl-dls
Copy link
Contributor Author

Oh, my bad. It was because shell=True doesn't pass along the (virtual) environment, so the various tools aren't necessarily installed. I've updated it to use the more explicit exception handling which is recommended in the python docs anyway; tests pass for me locally now.

@Bachmann1234
Copy link
Owner

Alright, lets get this out. Thanks for the PR!

@Bachmann1234 Bachmann1234 merged commit d6ec6af into Bachmann1234:main Dec 16, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants