From 1d241a22c926052bce40d2ed601920f2e58e66c6 Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Wed, 10 Feb 2016 22:45:20 -0600 Subject: [PATCH] Sketch out how the StyleGuide would be used from main --- flake8/main/cli.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake8/main/cli.py b/flake8/main/cli.py index 8cc4791..183b951 100644 --- a/flake8/main/cli.py +++ b/flake8/main/cli.py @@ -4,6 +4,7 @@ from flake8 import defaults from flake8.options import aggregator from flake8.options import manager from flake8.plugins import manager as plugin_manager +from flake8 import style_guide def register_default_options(option_manager): @@ -178,3 +179,5 @@ def main(argv=None): # formatter = formatting_plugins.get( # options.format, formatting_plugins['default'] # ).execute(options) + # listener_trie = listening_plugins.build_notifier() + # guide = style_guide.StyleGuide(options, args, listener_trie, formatter)