mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-10 06:44:18 +00:00
Count is no longer printed out to stderr
This commit is contained in:
parent
1ecf97005a
commit
d966f54a28
2 changed files with 3 additions and 3 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
|
|
@ -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.',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue