diff options
| author | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-02-07 10:44:46 -0600 |
|---|---|---|
| committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-02-07 10:44:46 -0600 |
| commit | 2fc853b7726c5fa917adba6e64bd0d62d461d3d3 (patch) | |
| tree | 817186ac60afd9da702f1987501ef6dacfac6e0e | |
| parent | 0b8f11acc2ab95f5c1a3cbe7ff7e70139104f884 (diff) | |
| download | flake8-2fc853b7726c5fa917adba6e64bd0d62d461d3d3.tar.gz | |
Stop assigning output_fd in Default formatter
| -rw-r--r-- | flake8/formatting/default.py | 1 | ||||
| -rw-r--r-- | flake8/main/cli.py | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/flake8/formatting/default.py b/flake8/formatting/default.py index 0b69d7a..95cc129 100644 --- a/flake8/formatting/default.py +++ b/flake8/formatting/default.py @@ -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 diff --git a/flake8/main/cli.py b/flake8/main/cli.py index e77be84..8cc4791 100644 --- a/flake8/main/cli.py +++ b/flake8/main/cli.py @@ -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) |
