mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 10:46:54 +00:00
Configure logging based on --verbose
This commit is contained in:
parent
8e2d8ec6f5
commit
8914ccd582
1 changed files with 2 additions and 0 deletions
|
|
@ -172,6 +172,8 @@ def main(argv=None):
|
|||
listening_plugins.register_options(option_manager)
|
||||
formatting_plugins.register_options(option_manager)
|
||||
|
||||
preliminary_opts, _ = option_manager.parse_args(argv)
|
||||
flake8.configure_logging(preliminary_opts.verbose)
|
||||
# Parse out our options from our found config files and user-provided CLI
|
||||
# options
|
||||
options, args = aggregator.aggregate_options(option_manager, argv)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue