Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Errors should be printed to stdout #201

Closed
gvanrossum opened this issue Aug 28, 2016 · 8 comments
Closed

Errors should be printed to stdout #201

gvanrossum opened this issue Aug 28, 2016 · 8 comments

Comments

@gvanrossum
Copy link

In #26 and #29 you changed errors to be printed to stderr. But actually for a linter that's quite inconvenient when you want to post-process the output. I checked flake8, pycodestyle, pyflakes and they all write their errors to stdout (and so does mypy).

Only errors that cause the program to exit immediately (e.g. command line syntax or can't open file) should go to stderr; the expected output (diagnostics about doc style) should go to stdout.

Please?

@sigmavirus24
Copy link
Member

@gvanrossum as a way to side-step this, is it possible for you to use flake8-docstrings?

@gvanrossum
Copy link
Author

gvanrossum commented Aug 29, 2016 via email

@Nurdok
Copy link
Member

Nurdok commented Aug 29, 2016

This seems reasonble, but as always, will take me some time to get to. Thanks for opening the issue.

@varunagrawal
Copy link
Contributor

I got this once we touch Oct 1!

@ghost
Copy link

ghost commented Oct 2, 2016

@varunagrawal Reminder to merge.

@varunagrawal
Copy link
Contributor

Pushed update to #210. Can someone review it please?

@Nurdok
Copy link
Member

Nurdok commented Oct 7, 2016

@varunagrawal I assure you I'll review it, but you'll have to be patient as is might take me a while.

@varunagrawal
Copy link
Contributor

@Nurdok sounds good. :)

@Nurdok Nurdok assigned Nurdok and unassigned Nurdok Oct 13, 2016
@Nurdok Nurdok closed this as completed Dec 3, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants