summaryrefslogtreecommitdiff
path: root/src/flake8
diff options
context:
space:
mode:
authorEric N. Vander Weele <ericvw@gmail.com>2019-10-12 12:30:53 +0200
committerEric N. Vander Weele <ericvw@gmail.com>2019-10-12 14:25:50 +0100
commit601702294270dd34aa5f7f19abe1dfead911fee9 (patch)
treea83a67a6f7e9a6309dd6e99d741b6db864604c9d /src/flake8
parent0359533fca164ef21c40c8074fbd3899316b8f91 (diff)
downloadflake8-601702294270dd34aa5f7f19abe1dfead911fee9.tar.gz
options: Remove parsing `--verbose` from the configuration file
The `--verbose` option is only used by `flake8`, itself,` when parsing and handling preliminary options. After parsing and merging options from the configuration file, there is no other behavioral impact to the core of `flake8`. In other words, setting `verbose = ...` in a configuration file doesn't change the logging verbosity. While the `FileProcessor` does expose a `verbose` attribute, obtained from the parsed options, the verbosity of the core of `flake8` should be consistent with how a plugin may respond to the attribute's value.
Diffstat (limited to 'src/flake8')
-rw-r--r--src/flake8/main/options.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/flake8/main/options.py b/src/flake8/main/options.py
index 75d2c8f..223f4a4 100644
--- a/src/flake8/main/options.py
+++ b/src/flake8/main/options.py
@@ -48,7 +48,6 @@ def register_default_options(option_manager):
"--verbose",
default=0,
action="count",
- parse_from_config=True,
help="Print more information about what is happening in flake8."
" This option is repeatable and will increase verbosity each "
"time it is repeated.",