diff options
| author | Eric N. Vander Weele <ericvw@gmail.com> | 2019-10-12 15:36:17 +0100 |
|---|---|---|
| committer | Eric N. Vander Weele <ericvw@gmail.com> | 2019-10-12 15:36:17 +0100 |
| commit | bb12b83cc06b0a1991e3e36a4a966f5e50c8791a (patch) | |
| tree | 15104b501e46972c8134ea8db119cf816ea9d7c9 | |
| parent | 0359533fca164ef21c40c8074fbd3899316b8f91 (diff) | |
| download | flake8-bb12b83cc06b0a1991e3e36a4a966f5e50c8791a.tar.gz | |
options: Remove parsing `--output-file` from the configuration file
The `--output-file` option is used when parsing and handling preliminary
options for logging. It is also used to set `BaseFormatter.filename`.
Towards ensuring that the option is respected consistently for both
logging and formatting plugins, only observe the value from the CLI.
| -rw-r--r-- | src/flake8/main/options.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/flake8/main/options.py b/src/flake8/main/options.py index 75d2c8f..a7e9e8f 100644 --- a/src/flake8/main/options.py +++ b/src/flake8/main/options.py @@ -261,7 +261,6 @@ def register_default_options(option_manager): add_option( "--output-file", default=None, - parse_from_config=True, help="Redirect report to a file.", ) |
