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

output errors on the error stream #664

Merged
merged 1 commit into from
Mar 10, 2024

Conversation

kkotenko
Copy link
Contributor

@kkotenko kkotenko commented Mar 7, 2024

This splits errors out into stderr.

It is debatable whether all tests which currently use result.output should be adjusted to explicitly check for stderr vs stdout. I have not yet done so, except to fix the tests that would now echo to stderr.

@bhirsz
Copy link
Member

bhirsz commented Mar 8, 2024

Looking at those click.echo I started to wonder if I do use click.echo everything or I mix it with print() even for errors.. but that's not the scope of this PR - I will check that later. Thanks for improving stderr/stdout part as it does make difference on unix systems, also allowing to filter out actual errors from diff output

@kkotenko kkotenko changed the title WIP: output errors on the error stream output errors on the error stream Mar 8, 2024
@kkotenko
Copy link
Contributor Author

kkotenko commented Mar 8, 2024

Alright, thanks for taking a look. I have removed the WIP marker and consider this ready-to-merge.

@bhirsz bhirsz merged commit cacdb12 into MarketSquare:main Mar 10, 2024
8 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
Development

Successfully merging this pull request may close these issues.

2 participants