Count is no longer printed out to stderr

This commit is contained in:
Alena Varkockova 2017-10-31 10:35:48 +01:00
parent 1ecf97005a
commit d966f54a28
2 changed files with 3 additions and 3 deletions

View file

@ -37,8 +37,8 @@ All options available as of Flake8 3.1.0::
verbosity each time it is repeated. verbosity each time it is repeated.
-q, --quiet Report only file names, or nothing. This option is -q, --quiet Report only file names, or nothing. This option is
repeatable. repeatable.
--count Print total number of errors and warnings to standard --count Print total number of errors and warnings
error and set the exit code to 1 if total is not and set the exit code to 1 if total is not
empty. empty.
--diff Report changes only within line number ranges in the --diff Report changes only within line number ranges in the
unified diff provided on standard in by the user. unified diff provided on standard in by the user.

View file

@ -52,7 +52,7 @@ def register_default_options(option_manager):
add_option( add_option(
'--count', action='store_true', parse_from_config=True, '--count', action='store_true', parse_from_config=True,
help='Print total number of errors and warnings to standard error and' help='Print total number of errors and warnings and'
' set the exit code to 1 if total is not empty.', ' set the exit code to 1 if total is not empty.',
) )