summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2016-02-01 20:55:57 -0600
committerIan Cordasco <graffatcolmingov@gmail.com>2016-02-01 20:55:57 -0600
commit91327c75e0da54fb7f4479499009fb6946f59820 (patch)
tree788013449480c3bb001db04100ca285de009a75b
parent4dc1cc386d91caa381ef9ca98eba309d23e070f9 (diff)
downloadflake8-91327c75e0da54fb7f4479499009fb6946f59820.tar.gz
Start work on our StyleGuide implementation
-rw-r--r--flake8/style_guide.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/flake8/style_guide.py b/flake8/style_guide.py
index a3f63eb..ec000b7 100644
--- a/flake8/style_guide.py
+++ b/flake8/style_guide.py
@@ -1 +1,25 @@
"""Implementation of the StyleGuide used by Flake8."""
+
+
+class StyleGuide(object):
+ """Manage a Flake8 user's style guide."""
+
+ def __init__(self, options, arguments, checker_plugins, listening_plugins,
+ formatting_plugins):
+ """Initialize our StyleGuide.
+
+ .. todo:: Add parameter documentation.
+ """
+ pass
+
+
+# Should separate style guide logic from code that runs checks
+# StyleGuide should manage select/ignore logic as well as include/exclude
+# logic. See also https://github.com/PyCQA/pep8/pull/433
+
+# StyleGuide shoud dispatch check execution in a way that can use
+# multiprocessing but also retry in serial. See also:
+# https://gitlab.com/pycqa/flake8/issues/74
+
+# StyleGuide should interface with Reporter and aggregate errors/notify
+# listeners