mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 10:46:54 +00:00
Stop assigning output_fd in Default formatter
This commit is contained in:
parent
0b8f11acc2
commit
2fc853b772
2 changed files with 4 additions and 1 deletions
|
|
@ -13,7 +13,6 @@ class Default(base.BaseFormatter):
|
|||
|
||||
def after_init(self):
|
||||
"""Check for a custom format string."""
|
||||
self.output_fd = None
|
||||
if self.options.format.lower() != 'default':
|
||||
self.error_format = self.options.format
|
||||
|
||||
|
|
|
|||
|
|
@ -174,3 +174,7 @@ def main(argv=None):
|
|||
# Parse out our options from our found config files and user-provided CLI
|
||||
# options
|
||||
options, args = aggregator.aggregate_options(option_manager)
|
||||
|
||||
# formatter = formatting_plugins.get(
|
||||
# options.format, formatting_plugins['default']
|
||||
# ).execute(options)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue