-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Errors and warnings are printed to stderr. #919
Conversation
8ad1152
to
144e6bb
Compare
@@ -274,13 +274,15 @@ def run(self): | |||
|
|||
def _process_print_task(self, print_task): | |||
print_str = print_task.message | |||
print_to_stderr = False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the newly added lines here, this method is now 62 lines long. Let's split this up to make it easier to manage.
Just some minor code cleanup and unit test changes above. Otherwise looks good. |
@jamesls I updated the code to the suggestions you made except for the ones that I pushed back a little on like the use of |
7c7da31
to
184898b
Compare
Looks good. |
Errors and warnings are printed to stderr.
Fixes #820
cc @jamesls @danielgtaylor