mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 18:56:53 +00:00
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.
This commit is contained in:
parent
0359533fca
commit
bb12b83cc0
1 changed files with 0 additions and 1 deletions
|
|
@ -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.",
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue